Commit b393ea0d by Qiang Xue

Fixes #2851.

parent 2a7e324a
......@@ -233,7 +233,7 @@ abstract class Target extends Component
$prefix = $this->prefix ? call_user_func($this->prefix, $message) : $this->getMessagePrefix($message);
return date('Y/m/d H:i:s', $timestamp) . " $prefix[$level][$category] $text";
return date('Y/m/d H:i:s', $timestamp) . " {$prefix}[$level][$category] $text";
}
/**
......
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