Created
June 26, 2017 20:23
-
-
Save WyriHaximus/ea5a1810fd58efdb85a474ed7f7b740a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$consoleHandler = new FormattedPsrHandler(StdioLogger::create($loop)->withHideLevel(true)); | |
$consoleHandler->setFormatter(new ColoredLineFormatter( | |
null, | |
"[%datetime%] %channel%.%level_name%: %message%", | |
null, | |
false, | |
false | |
)); | |
$monolog->pushHandler($consoleHandler); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment