PHP Classes

Nmn Logger: Message logging abstraction

Recommend this page to a friend!
  Info   View files View files (17)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 414 All time: 6,411 This week: 794Up
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: 46
All time rank: 3473140 in Italy Italy
Week rank: 512 Up23 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
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  
This week:0
All time:6,411
This week:794Up
For more information send a message to info at phpclasses dot org.