Close the file associated with the log (关闭日志绑定的文件)
()
| 417 | // Close the file associated with the log |
| 418 | // (关闭日志绑定的文件) |
| 419 | func (log *ZinxLoggerCore) closeFile() { |
| 420 | if log.fw != nil { |
| 421 | log.fw.Close() |
| 422 | } |
| 423 | } |
| 424 | |
| 425 | func (log *ZinxLoggerCore) SetLogLevel(logLevel int) { |
| 426 | log.isolationLevel = logLevel |