From 384a8f108e3de0e2475d4267732b0f3ffabb7541 Mon Sep 17 00:00:00 2001 From: xue <> Date: Wed, 11 Jan 2006 00:16:33 +0000 Subject: --- framework/Log/TLogRouter.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'framework/Log/TLogRouter.php') 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); } /** -- cgit v1.2.3