Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WrapLogger ¶
type WrapLogger struct {
// contains filtered or unexported fields
}
WrapLogger is the implementation for a Logger.
func (*WrapLogger) EnableLog ¶
func (l *WrapLogger) EnableLog(enable bool)
EnableLog controls whether print the message.
func (*WrapLogger) IsEnabled ¶
func (l *WrapLogger) IsEnabled() bool
IsEnabled returns if logger is enabled.
func (*WrapLogger) Print ¶
func (l *WrapLogger) Print(v ...interface{})
Print formats using the default formats for its operands and logs the message.
func (*WrapLogger) Printf ¶
func (l *WrapLogger) Printf(format string, v ...interface{})
Printf formats according to a format specifier and logs the message.
Click to show internal directories.
Click to hide internal directories.