createLogger()
createLogger(string $channel,string|resource|null $stream = null,string|integer|null $level = null): \Psr\Log\LoggerInterface
Creates a Monolog logger with a stream handler configured for this library.
Parameters
string | $channel | a description of what is being logged |
string|resource|null | $stream | the stream the logger will log to; if
|
string|integer|null | $level | the log level; can be a PSR3 log level string, or a Monolog log level int |