日志级别warn更改为notic

This commit is contained in:
thinkphp
2015-12-27 20:56:17 +08:00
parent b1de2d21bc
commit ae72fd7e10
4 changed files with 5 additions and 5 deletions

View File

@@ -17,13 +17,13 @@ class Log
const ERROR = 'error';
const INFO = 'info';
const SQL = 'sql';
const WARN = 'warn';
const NOTIC = 'notic';
const ALERT = 'alert';
// 日志信息
protected static $log = [];
// 日志类型
protected static $type = ['log', 'error', 'info', 'sql', 'warn', 'alert'];
protected static $type = ['log', 'error', 'info', 'sql', 'notic', 'alert'];
// 日志写入驱动
protected static $driver = null;
// 通知发送驱动