summaryrefslogtreecommitdiff
path: root/framework/Log
diff options
context:
space:
mode:
authorxue <>2006-01-11 00:16:33 +0000
committerxue <>2006-01-11 00:16:33 +0000
commit384a8f108e3de0e2475d4267732b0f3ffabb7541 (patch)
tree8fbf5f71bfd868621e1d1d1a45512950f7b8c40c /framework/Log
parentdfde83887227d19b3b413f19e2693fd790d661e1 (diff)
Diffstat (limited to 'framework/Log')
-rw-r--r--framework/Log/TLogRouter.php3
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);
}
/**