Commit 886def85 by Carsten Brandt

removed unused argument

parent 564fdf0b
...@@ -61,7 +61,7 @@ class SyslogTarget extends Target ...@@ -61,7 +61,7 @@ class SyslogTarget extends Target
list($text, $level, $category, $timestamp) = $message; list($text, $level, $category, $timestamp) = $message;
$level = Logger::getLevelName($level); $level = Logger::getLevelName($level);
if (!is_string($text)) { if (!is_string($text)) {
$text = VarDumper::export($text, true); $text = VarDumper::export($text);
} }
$prefix = $this->getMessagePrefix($message); $prefix = $this->getMessagePrefix($message);
......
...@@ -233,7 +233,7 @@ abstract class Target extends Component ...@@ -233,7 +233,7 @@ abstract class Target extends Component
list($text, $level, $category, $timestamp) = $message; list($text, $level, $category, $timestamp) = $message;
$level = Logger::getLevelName($level); $level = Logger::getLevelName($level);
if (!is_string($text)) { if (!is_string($text)) {
$text = VarDumper::export($text, true); $text = VarDumper::export($text);
} }
$prefix = $this->getMessagePrefix($message); $prefix = $this->getMessagePrefix($message);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment