|
@@ -125,11 +125,11 @@ class CLog {
|
|
|
public static function flush() {
|
|
|
self::flush2File(enum_LogLevel::Info); # 普通信息写到本地文件
|
|
|
self::flush2File(enum_LogLevel::Warn);
|
|
|
- if (GAME_ONLINE) {
|
|
|
- self::flush2Redis(enum_LogLevel::Err); # 外网错误日志写入redis
|
|
|
- } else {
|
|
|
- self::flush2File(enum_LogLevel::Err); # 内网错误日志写入本地文件
|
|
|
- }
|
|
|
+// if (GAME_ONLINE) {
|
|
|
+// self::flush2Redis(enum_LogLevel::Err); # 外网错误日志写入redis
|
|
|
+// } else {
|
|
|
+ self::flush2File(enum_LogLevel::Err); # 内网错误日志写入本地文件
|
|
|
+// }
|
|
|
}
|
|
|
|
|
|
/**
|