Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger interface { //Fatal causes the application to terminate with the given error message Fatal(args ...interface{}) //Fatalf causes the application to terminate with the given error message Fatalf(format string, args ...interface{}) //Error logs a message at ERROR level on the default logger Error(args ...interface{}) //Errorf logs a message at ERROR level on the default logger Errorf(format string, args ...interface{}) //Info logs a message at INFO level on the default logger Info(args ...interface{}) //Infof logs a message at INFO level on the default logger Infof(format string, args ...interface{}) }
Logger interface that allows abstracting away the concrete logger implementation we are using
Click to show internal directories.
Click to hide internal directories.