Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateFileLogger ¶
func CreateFileLogger(fileOption *FileOption) *zap.Logger
CreateFileLogger 创建文件日志
func CreateFileLoggerByLevel ¶
func CreateFileLoggerByLevel(fileOption *FileOption) *zap.Logger
CreateFileLoggerByLevel 创建文件等级日志.将会产生不同等级日志文件 如:debug info warn error panic fatal
Types ¶
Click to show internal directories.
Click to hide internal directories.