Download the PHP package innmind/logger without Composer
On this page you can find all versions of the php package innmind/logger. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download innmind/logger
More information about innmind/logger
Files in innmind/logger
Download innmind/logger
More information about innmind/logger
Files in innmind/logger
Vendor innmind
Package logger
Short Description Logger
License MIT
Homepage http://github.com/Innmind/Logger
Package logger
Short Description Logger
License MIT
Homepage http://github.com/Innmind/Logger
Please rate this library. Is it a good library?
Informations about the package logger
Logger
Simple abstraction of monolog to simplify (hopefully) the creation of a logger.
Installation
Usage
In this example both $concrete
and $fingersCrossed
are instances of Psr\Log\LoggerInterface
with the first one that will write each log to the specified file and to sentry, the latter will only write logs when the error
level is reached.
If you want to specify the log level for each handler you can do it by adding the level
query parameter in the handler url.
All versions of logger with dependencies
PHP Build Version
Package Version
Requires
php Version
~7.4|~8.0
psr/log Version ^1.0
monolog/monolog Version ~2.0
innmind/url Version ~3.0
psr/log Version ^1.0
monolog/monolog Version ~2.0
innmind/url Version ~3.0
The package innmind/logger contains the following files
Loading the files please wait ....