Documentation ¶
Overview ¶
Package log contains logging functions
Package log contains logging functions ¶
Package log contains logging functions
Index ¶
Constants ¶
View Source
const ( // TTYFormat represents a tty logger TTYFormat string = "tty" )
Variables ¶
View Source
var ( // InfoLevel is the json level for information InfoLevel = "info" // WarningLevel is the json level for warning WarningLevel = "warn" // ErrorLevel is the json level for error ErrorLevel = "error" )
Functions ¶
func Debugf ¶
func Debugf(format string, args ...interface{})
Debugf writes a debug-level log with a format
Types ¶
type ClarkezoneWriter ¶
type ClarkezoneWriter interface { Debugf(format string, args ...interface{}) Infof(format string, args ...interface{}) Successf(format string, args ...interface{}) }
ClarkezoneWriter implements the interface of the writers
type TTYWriter ¶
type TTYWriter struct {
// contains filtered or unexported fields
}
TTYWriter writes into a tty terminal
Click to show internal directories.
Click to hide internal directories.