Remi's RPM repository - Packages

Blog | Forum | Repository | Wizard

php-Analog - PHP micro logging package

Website:
https://github.com/jbroadway/analog
Licence:
MIT
Vendor:
Remi Collet
Description:
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).

Analog also comes with over a dozen pre-written handlers,
with examples for each in the examples folder. These include:
- Amon - Send logs to the Amon server monitoring tool
- Buffer - Buffer messages to send all at once (works with File,
  Mail, Stderr, and Variable handlers)
- File - Append messages to a file
- FirePHP - Send messages to FirePHP browser plugin
- GELF - Send message to the Graylog2 log management server
- Ignore - Do nothing
- LevelBuffer - Buffer messages and send only if sufficient error
  level reached
- LevelName - Convert log level numbers to names in log output
- Mail - Send email notices
- Mongo - Save to MongoDB collection, requires php-pecl-mongodb
  package to be installed
- Multi - Send different log levels to different handlers
- Post - Send messages over HTTP POST to another machine
- Slackbot - Post messages to Slack via Slackbot
- Stderr - Send messages to STDERR
- Syslog - Send messages to syslog
- Threshold - Only writes log messages above a certain threshold
- Variable - Buffer messages to a variable reference.

So while it's a micro class, it's highly extensible and very capable
out of the box too.

Autoloader: /usr/share/php/Analog/autoload.php

Packages

php-Analog-1.0.10-1.remi.src [32 KiB] Changelog by Remi Collet (2017-11-14):
- update to 1.0.10
php-Analog-1.0.9-2.remi.src [32 KiB] Changelog by Remi Collet (2016-10-31):
- update to 1.0.9
- switch to fedora/autoloader
php-Analog-1.0.9-1.remi.src [32 KiB] Changelog by Remi Collet (2016-10-31):
- update to 1.0.9
- switch to fedora/autoloader
php-Analog-1.0.8-1.remi.src [31 KiB] Changelog by Remi Collet (2016-08-11):
- update to 1.0.8
php-Analog-1.0.7-2.remi.src [31 KiB] Changelog by Remi Collet (2016-05-05):
- generate a simple autoloader (and use it for test suite)