修正 几个Notice级的错误

This commit is contained in:
huangdijia
2015-01-19 16:27:14 +08:00
parent f9d8ce8c1e
commit 0035b77d56
4 changed files with 8 additions and 5 deletions

View File

@@ -78,7 +78,7 @@ class Log {
* @param string $destination 写入目标
* @return void
*/
static public function write($log,$level,$destination='') {
static public function write($log,$level='',$destination='') {
self::$storage && self::$storage->write("{$level}: {$log}",$destination);
}
}