package
Version:
v0.5.0
Opens a new window with list of versions in this module.
Published: Jun 26, 2019
License: BSD-3-Clause
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Logger interface {
Tracef(string, ...interface{})
Infof(string, ...interface{})
Warnf(string, ...interface{})
Errorf(string, ...interface{})
}
A Logger is used to write log lines to the consul.
Discard creates a Logger which throws away each statement.
New creates a Logger which prepends each statement with the specified prefix.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.