Projects / Analog PHP

Analog PHP

Analog PHP is a short and simple logging package for PHP 5.3+ based around the idea of using closures for configurability and extensibility. It functions as a static class, but you can completely control the handling of log messages through closures (aka anonymous functions), and it also comes with a dozen pre-written handlers. It is well-documented, with examples for each type of log handler, and ultra-concise. The core is literally only 43 lines of clear, non-obfuscated code, and the whole is only a fraction of the size of comparable packages (for example, 293 total lines vs 1021 for Monolog).

Operating Systems

RSS Recent releases

  •  12 Jan 2012 21:59

Release Notes: This release adds optional PSR-0 support, adds automated PHPUnit configuration, and adds buffered output to the File, Stderr, and Variable handlers. It speeds up the non-PSR-0 mode via the class_alias() PHP function, and improves the docs and examples. Analog is now also available through the Composer/ package manager.

  •  10 Jan 2012 01:12

Release Notes: This is the first release, which includes the core logger class, a dozen pre-built handlers including FirePHP, file logging, email, MongoDB, and others, PSR-0 compliance, and example code for each handler.


Project Spotlight


GNU grep, egrep and fgrep.


Project Spotlight

Diladele Web Safety

A Web filtering ICAP server for the Squid proxy server.