记录日志的时候 支持 样式别名

This commit is contained in:
thinkphp
2015-12-08 12:52:54 +08:00
parent 64348512ef
commit 931986143f

View File

@@ -269,7 +269,7 @@ class Slog
self::$logs[] = [
'type' => $type,
'msg' => $msg,
'css' => $css,
'css' => isset(self::$css[$css]) ? self::$css[$css] : $css,
];
}