How to Install and Uninstall php-analog Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: September 20,2024

1. Install "php-analog" package

This guide let you learn how to install php-analog on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install php-analog

2. Uninstall "php-analog" package

This guide let you learn how to uninstall php-analog on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove php-analog $ sudo apt autoclean && sudo apt autoremove

3. Information about the php-analog package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: php-analog
Priority: optional
Section: universe/php
Installed-Size: 95
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP PEAR Maintainers
Architecture: all
Version: 1.0.7-1build1
Depends: php-psr-log (>= 1.0.0-2~), php-common, php-psr-log (<< 2~~)
Filename: pool/universe/p/php-analog/php-analog_1.0.7-1build1_all.deb
Size: 20704
MD5sum: 2cea64f5dbd247e357f640b0e9a2be3a
SHA1: 4af5c4facc65d0c57284105e144793b65e13d465
SHA256: cc92cc75d549b742fa589c41383e32857fa08c4761551d06129ae8d2f8a893a8
Description-en: PHP micro logging package
PHP 5.3+ micro logging class that can be extended via closures. Includes
several pre-built handlers including file, mail, syslog, HTTP post, and
MongoDB.
.
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:
.
- 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)
- ChromeLogger - Sends messages to Chrome Logger browser plugin
- File - Append messages to a file
- FirePHP - Send messages to FirePHP browser plugin
- GELF - Send message to the Graylog2 log management server
- LevelBuffer - Buffer messages and send only if sufficient error level
reached
- Mail - Send email notices
- Mongo - Save to MongoDB collection
- Multi - Send different log levels to different handlers
- Null - Do nothing
- Post - Send messages over HTTP POST to another machine
- 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.
Description-md5: fd0c41695762f32063e664b9276f3356
Homepage: https://github.com/jbroadway/analog
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu

5. The same packages on other Linux Distributions