Download the PHP package vajiral/simple-logger without Composer
On this page you can find all versions of the php package vajiral/simple-logger. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download vajiral/simple-logger
More information about vajiral/simple-logger
Files in vajiral/simple-logger
Download vajiral/simple-logger
More information about vajiral/simple-logger
Files in vajiral/simple-logger
Vendor vajiral
Package simple-logger
Short Description PHP library to write logs (compatible with PSR-3)
License MIT
Homepage https://github.com/vajiralasantha/PHP-Simple-Logger
Package simple-logger
Short Description PHP library to write logs (compatible with PSR-3)
License MIT
Homepage https://github.com/vajiralasantha/PHP-Simple-Logger
Please rate this library. Is it a good library?
Informations about the package simple-logger
PHP Simple Logger
SimpleLogger is a PHP library to write logs.
- Drivers: Syslog, stdout, stderr and text file
- Compatible with PSR-3 Standard Logger Interface
- Requirements: PHP >= 5.3
- Author: Frédéric Guillot, Vajira Lasantha
- License: MIT
Originally taken from fguillot/simpleLogger in order keep this libraly alive for PHP <= 7.0. The latest library from firehed/simplelogger does not support PHP <= 7.0.
Usage
Installation
Syslog
Send log messages to Syslog:
Stdout
Stderr
Text file
Send log messages to a text file:
Multiple loggers
Send log messages to multiple loggers:
Minimum log level for loggers
In this example, only messages with the level >= "error" will be sent to the Syslog handler but everything is sent to the File handler:
The minimum log level is LogLevel::DEBUG
by default.
All versions of simple-logger with dependencies
PHP Build Version
Package Version
The package vajiral/simple-logger contains the following files
Loading the files please wait ....