Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NilLogger = &nilLogger{}
Functions ¶
func EmergencyLog ¶
func EmergencyLog(format string, args ...interface{})
Types ¶
type Logger ¶
type StringLogger ¶
type StringLogger struct {
// contains filtered or unexported fields
}
func NewStringLogger ¶
func NewStringLogger() *StringLogger
func (*StringLogger) Colorize ¶
func (l *StringLogger) Colorize(color Color, format string, args ...interface{}) string
func (*StringLogger) Colorized ¶
func (l *StringLogger) Colorized() bool
func (*StringLogger) Log ¶
func (l *StringLogger) Log(prefix *Prefix, format string, args ...interface{})
func (*StringLogger) String ¶
func (l *StringLogger) String() string
type VerbosityLevel ¶
type VerbosityLevel int
const ( VerbosityLevelNone VerbosityLevel = iota VerbosityLevelProgress VerbosityLevelRequestResponse )
func ToVerbosityLevel ¶
func ToVerbosityLevel(level int) VerbosityLevel
Click to show internal directories.
Click to hide internal directories.