Popularity
4.0
Stable
Activity
5.2
Stable
286
27
36

Description

A MicroPHP logging package based on the idea of using closures for configurability and extensibility. It functions as a static class, but you can completely control the writing of log messages through a closure function (aka anonymous functions), or use the Analog\Logger wrapper that implements the PSR-3 specification.

By default, this class will write to a file named sys_get_temp_dir() . '/analog.txt' using the format "machine - date - level - message\n", making it usable with no customization necessary.

Analog also comes with over a dozen pre-written handlers in the Analog/Handlers folder, with examples for each in the examples folder. These include:

Code Quality Rank: L5
Monthly Downloads: 19,483
Programming language: PHP
License: MIT License
Tags: Logging     Logger     Debug     Log     Debugging     Error     Syslog     Alerts    

Analog alternatives and similar libraries

Based on the "Logging" category

Do you think we are missing an alternative of Analog or a related project?

Add another 'Logging' Library