getMessagePrefix() public method
Returns a string to be prefixed to the given message.
If $prefix is configured it will return the result of the callback. The default implementation will return user IP, user ID and session ID as a prefix.
public string getMessagePrefix ( $message ) | ||
---|---|---|
$message | array |
The message being exported. The message structure follows that in yii\log\Logger::$messages. |
return | string |
The prefix string |
Please login to continue.