Documentation
¶
Index ¶
Constants ¶
View Source
const ( // Trace log level Trace = 1000 * iota // Debug log level Debug // Info log level Info // Warn log level Warn // Error log level Error )
Variables ¶
This section is empty.
Functions ¶
func ParseLogLevel ¶
ParseLogLevel determines the desired log level from an input string
Types ¶
type Logger ¶
type Logger struct {
LogLevel int
}
Logger provides logging functionality with various log levels
func (*Logger) Fatal ¶
func (logger *Logger) Fatal(input interface{})
Fatal proxies the log.Fatal to consolidate access to a single logger
Click to show internal directories.
Click to hide internal directories.