Skip to content
Justin Campo edited this page Oct 24, 2015 · 1 revision

A simple class that writes log files (for each page load) to ./xesm/log/*

//the main method is
log($level, $message, array $context = array())

//the following are defined values/method you should use.
emergency($message, array $context = array())
alert($message, array $context = array())
critical($message, array $context = array())
error($message, array $context = array())
warning($message, array $context = array())
notice($message, array $context = array())
info($message, array $context = array())
db($message, array $context = array())
core($message, array $context = array())
plugin($message, array $context = array())
autoload($message, array $context = array())
debug($message = '', array $context = array())
Clone this wiki locally