Documentation ¶
Index ¶
Constants ¶
View Source
const (
DriverGroup = "logging"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogitDriver ¶
type LogitDriver interface { Open() LogitDriver Write(level int, logval ...interface{}) Close() Id() string ShortHelp() string LongHelp() string }
The interface gives the set of methods that an encryption driver must implement.
func GetDefaultDriver ¶
func GetDefaultDriver() LogitDriver
This will panic if no drivers have been registered
func GetDriver ¶
func GetDriver(name string) LogitDriver
This will panic if no drivers have been registered
func SetDefault ¶
func SetDefault(name string) LogitDriver
Click to show internal directories.
Click to hide internal directories.