mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-22 17:16:18 +02:00
Add API version to Logger class
This commit is contained in:
@@ -76,6 +76,16 @@ class Logger implements LoggerInterface
|
|||||||
*/
|
*/
|
||||||
const EMERGENCY = 600;
|
const EMERGENCY = 600;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Monolog API version
|
||||||
|
*
|
||||||
|
* This is only bumped when API breaks are done and should
|
||||||
|
* follow the major version of the library
|
||||||
|
*
|
||||||
|
* @var int
|
||||||
|
*/
|
||||||
|
const API = 1;
|
||||||
|
|
||||||
protected static $levels = array(
|
protected static $levels = array(
|
||||||
100 => 'DEBUG',
|
100 => 'DEBUG',
|
||||||
200 => 'INFO',
|
200 => 'INFO',
|
||||||
|
Reference in New Issue
Block a user