diff options
Diffstat (limited to 'framework/Log/TLogRouter.php')
-rw-r--r-- | framework/Log/TLogRouter.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/framework/Log/TLogRouter.php b/framework/Log/TLogRouter.php index 308e3a75..5e54e939 100644 --- a/framework/Log/TLogRouter.php +++ b/framework/Log/TLogRouter.php @@ -283,7 +283,8 @@ abstract class TLogRoute extends TComponent public function collectLogs(TLogger $logger)
{
$logs=$logger->getLogs($this->getLevels(),$this->getCategories());
- $this->processLogs($logs);
+ if(!empty($logs))
+ $this->processLogs($logs);
}
/**
|