Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PrefixLogger ¶
type PrefixLogger interface { StandardLogger Format() string Args() []interface{} Prefix(fmt string, args ...interface{}) PrefixLogger }
StandardLogger provides API compatibility with standard printf loggers eg. go-logging
func Prefix ¶
func Prefix(l StandardLogger, format string, args ...interface{}) PrefixLogger
type StandardLogger ¶
type StandardLogger interface { Critical(args ...interface{}) Criticalf(format string, args ...interface{}) Debug(args ...interface{}) Debugf(format string, args ...interface{}) Error(args ...interface{}) Errorf(format string, args ...interface{}) Fatal(args ...interface{}) Fatalf(format string, args ...interface{}) Info(args ...interface{}) Infof(format string, args ...interface{}) Notice(args ...interface{}) Noticef(format string, args ...interface{}) Panic(args ...interface{}) Panicf(format string, args ...interface{}) Warning(args ...interface{}) Warningf(format string, args ...interface{}) }
StandardLogger provides API compatibility with standard printf loggers eg. go-logging
Click to show internal directories.
Click to hide internal directories.