Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFileLogger ¶
NewFileLogger
@param logPath (1) 文件不存在,会生成文件和父目录;
(2) 文件存在,新的内容会 append.
@param prefix e.g. "[TEST] " @param perm e.g. 0666 || 0644
func NewStdoutLogger ¶ added in v3.0.908
NewStdoutLogger 输出到控制台(os.Stdout).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.