1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-22 09:06:10 +02:00

Add API version to Logger class

This commit is contained in:
Jordi Boggiano
2013-05-21 20:36:09 +02:00
parent ae8500e5b1
commit e2b412846d

View File

@@ -76,6 +76,16 @@ class Logger implements LoggerInterface
*/
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(
100 => 'DEBUG',
200 => 'INFO',