PHP Classes

Nmn Logger: Message logging abstraction

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (17)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2006-10-18 (8 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 412 All time: 5,965 This week: 1,334Up
Version License Categories  
nmnlogger 1.0GNU Lesser Genera...PHP 5, Logging
Description Author  

This package abstracts the logging of messages to different logging targets.

There is a factory class that instantiates the logging driver class that performs that actual logging actions.

There driver classes for logging messages to file, display the messages as part of the current script output or send the log messages to a given e-mail address.

The current logging driver can be configured using a separate XML file.

Picture of Ivan Preziosi
Name: Ivan Preziosi <contact>
Classes: 1 package by
Country: Italy Italy
Age: 39
All time rank: 3204132 in Italy Italy
Week rank: 1497 Up60 in Italy Italy Up

  Files folder image Files  
File Role Description
Files folder imagelogger (10 files, 3 directories)

  Files folder image Files  /  logger  
File Role Description
Files folder imagedrivers (3 files, 1 directory)
Files folder imagefileLogs (1 file)
Files folder imagemessageFactories (1 file)
  Plain text file changeLogs.txt Data changelogs
  Accessible without login Plain text file LICENSE Lic. license information file
  Plain text file nmn-logger-config.xml Data xml config file
  Plain text file NmnLogger.php Class Static convenience methods to use the package
  Plain text file NmnLoggerConfig.php Class class used to retrieve, store and make available config options
  Plain text file NmnLoggerDevice.php Class class used to hold the logger devices data
  Plain text file NmnLoggerObject.php Class main class of the package
  Accessible without login Plain text file NmnLoggerUsageExample.php Example basic usage example
  Accessible without login HTML file readMe.html Doc. html documentation
  Accessible without login Plain text file readMe.txt Doc. txt documentation

  Files folder image Files  /  logger  /  drivers  
File Role Description
Files folder imagemailLogger (2 files)
  Plain text file NmnLoggerBaseDriver.php Class Base driver class to be extended
  Plain text file NmnLoggerFileDriver.php Class Driver class to log to text file
  Plain text file NmnLoggerMysqlDriver.php Class Driver for mysql database

  Files folder image Files  /  logger  /  drivers  /  mailLogger  
File Role Description
  Plain text file NmnLoggerMailDriver.php Class driver class to log to mail recipients
  Plain text file readMe.txt Doc. instructions to use the MailLogger class

  Files folder image Files  /  logger  /  fileLogs  
File Role Description
  Plain text file readMe.txt Doc. readme for fileLogs

  Files folder image Files  /  logger  /  messageFactories  
File Role Description
  Plain text file NmnMessageFactory.php Class class for creating log messages 35KB
Downloadnmnlogger-2006-10-18.tar.gz 22KB
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
PHPMailer Download .zip .tar.gz needed to use the mail logging feature Conditional
 Version Control Unique User Downloads Download Rankings  
 0%Total:412All time:5,965
 This week:0This week:1,334Up