mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-04 12:17:35 +02:00
Added some docs on levels
This commit is contained in:
@@ -13,9 +13,26 @@ namespace Monolog;
|
|||||||
|
|
||||||
class Logger
|
class Logger
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* Debug messages
|
||||||
|
*/
|
||||||
const DEBUG = 100;
|
const DEBUG = 100;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Messages you usually don't want to see
|
||||||
|
*/
|
||||||
const INFO = 200;
|
const INFO = 200;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Exceptional occurences that are not errors
|
||||||
|
*
|
||||||
|
* This is typically the logging level you want to use
|
||||||
|
*/
|
||||||
const WARNING = 300;
|
const WARNING = 300;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Errors
|
||||||
|
*/
|
||||||
const ERROR = 400;
|
const ERROR = 400;
|
||||||
|
|
||||||
protected static $levels = array(
|
protected static $levels = array(
|
||||||
|
Reference in New Issue
Block a user