Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GraceSIG = newG()
GraceSIG ...
Functions ¶
Types ¶
type Logger ¶
type Logger interface { // Infof logs a message using INFO as log level. Infof(format string, v ...interface{}) // Errorf logs a message using ERROR as log level. Errorf(format string, v ...interface{}) }
Logger logger interface
type LoggerWithFlusher ¶
type LoggerWithFlusher interface { Logger // Flush writes any buffered log to the underlying io.Writer. Flush() error }
LoggerWithFlusher logger interface with flusher
Click to show internal directories.
Click to hide internal directories.