$connections
$connections : array
An helper class for managing monolog logger instances.
connect(string $name, array $details) : \Monolog\Logger
Create a new logger instance.
string | $name | the connection name |
array | $details | an array containing sub-arrays of connection details |
invalid name or connection details
the new logger instance
retrieve(string|null $name) : \Monolog\Logger
Retrieve the PSR-3 logger instance with the given name
string|null | $name | the name of the logger instance or NULL for the default one |
invalid name or inexistent logger instance
the logger instance