Documentation ¶
Index ¶
Constants ¶
View Source
const ( LogWayConsole = "console" LogWayFile = "file" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DebugWriter ¶
type DebugWriter struct{}
DebugWriter 输出Debug级别日志
func (DebugWriter) Println ¶
func (w DebugWriter) Println(format string, v ...interface{})
type ErrorWriter ¶
type ErrorWriter struct{}
ErrorWriter 输出Error级别日志
func (ErrorWriter) Println ¶
func (w ErrorWriter) Println(format string, v ...interface{})
type InfoWriter ¶
type InfoWriter struct{}
InfoWriter 输出Info级别日志
func (InfoWriter) Println ¶
func (w InfoWriter) Println(format string, v ...interface{})
type WarnWriter ¶
type WarnWriter struct{}
WarnWriter 输出Warn级别日志
func (WarnWriter) Println ¶
func (w WarnWriter) Println(format string, v ...interface{})
Click to show internal directories.
Click to hide internal directories.