PHP Classes

Logger Trait: Log events to files as a trait

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 168 All time: 8,878 This week: 455Up
Version License PHP version Categories
logger-trait 1GNU General Publi...5.4PHP 5, Logging, Traits
Description 

Author

This package can log events to files as a trait.

It appends log messages to a given log file if the severity status is above a given severity level.

The log messages include the event date, the severity status, and optionally the event file name and line number.

Currently it support severity levels of alert, critical, debug, emergency, error, information, notice and warning.

Picture of Jacob Fogg
  Performance   Level  
Name: Jacob Fogg <contact>
Classes: 7 packages by
Country: United States United States
Innovation award
Innovation award
Nominee: 3x

Winner: 1x

  Files folder image Files (2)  
File Role Description
Files folder imageFogg (1 directory)

  Files folder image Files (2)  /  Fogg  
File Role Description
Files folder imageUtil (1 directory)

  Files folder image Files (2)  /  Fogg  /  Util  
File Role Description
Files folder imageLogger (2 files)

  Files folder image Files (2)  /  Fogg  /  Util  /  Logger  
File Role Description
  Plain text file LoggerTrait.php Class The Logger Trait Class
  Accessible without login Plain text file TraitExample.php Data Example file

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:168
This week:0
All time:8,878
This week:455Up