Documentation ¶
Index ¶
Constants ¶
View Source
const TIME_FORMAT = "2006-01-02 15:04:05"
Variables ¶
This section is empty.
Functions ¶
func NewStackTraceLogger ¶
func SetGlobalLogger ¶
Types ¶
type CLIFormatter ¶
type CLIFormatter struct{}
type SilentLogger ¶
type SilentLogger struct{}
func (SilentLogger) Print ¶
func (SilentLogger) Print(v ...interface{})
func (SilentLogger) Printf ¶
func (SilentLogger) Printf(format string, v ...interface{})
type StackTraceFormatter ¶
type StackTraceFormatter struct {
*StandardFormatter
}
type StandardFormatter ¶
type StandardFormatter struct {
Name string
}
type StandardLogger ¶ added in v0.10.4
func NewStandardLogger ¶
func NewStandardLogger(name string) *StandardLogger
func (*StandardLogger) Log ¶ added in v0.10.4
func (s *StandardLogger) Log(tokens ...interface{})
func (*StandardLogger) Logf ¶ added in v0.10.4
func (s *StandardLogger) Logf(format string, tokens ...interface{})
Click to show internal directories.
Click to hide internal directories.