notic修正

This commit is contained in:
thinkphp
2016-02-02 21:41:38 +08:00
parent 8ed7c91b29
commit c0e8c95237
5 changed files with 12 additions and 12 deletions

View File

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