Skip to content

Instantly share code, notes, and snippets.

@djthorpe
Created December 30, 2018 14:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save djthorpe/01f1d2c80d4a072059528f8a9f8b1545 to your computer and use it in GitHub Desktop.
Save djthorpe/01f1d2c80d4a072059528f8a9f8b1545 to your computer and use it in GitHub Desktop.
type Logger interface {
Driver
// Output logging messages
Fatal(format string, v ...interface{}) error
Error(format string, v ...interface{}) error
Warn(format string, v ...interface{})
Info(format string, v ...interface{})
Debug(format string, v ...interface{})
Debug2(format string, v ...interface{})
// Return IsDebug flag
IsDebug() bool
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment