Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type StdLogBackend ¶
type StdLogBackend struct { log.CommonBackend Formatter func(entry *log.Entry, senderSpacing int, severitySpacing int) string // contains filtered or unexported fields }
It is recommended to use your own formatter and do SetFlags(0) on stdlog
func (*StdLogBackend) NotifyAboutSender ¶
func (loggy *StdLogBackend) NotifyAboutSender(sender string)
func (*StdLogBackend) NotifyAboutSeverity ¶
func (loggy *StdLogBackend) NotifyAboutSeverity(severity *log.Severity)
func (*StdLogBackend) Shutdown ¶
func (loggy *StdLogBackend) Shutdown()
Click to show internal directories.
Click to hide internal directories.