Documentation ¶ Index ¶ Variables type Logger Constants ¶ This section is empty. Variables ¶ View Source var ( // DefaultLogger is used when Config.Logger == nil DefaultLogger = log.New(os.Stderr, "", log.LstdFlags) // DiscardingLogger can be used to disable logging output DiscardingLogger = log.New(ioutil.Discard, "", 0) ) Functions ¶ This section is empty. Types ¶ type Logger ¶ type Logger interface { Fatal(v ...interface{}) Fatalf(format string, v ...interface{}) Fatalln(v ...interface{}) Panic(v ...interface{}) Panicf(format string, v ...interface{}) Panicln(v ...interface{}) Print(v ...interface{}) Printf(format string, v ...interface{}) Println(v ...interface{}) } Source Files ¶ View all Source files logger.go Click to show internal directories. Click to hide internal directories.