Versions in this module Expand all Collapse all v0 v0.1.0 May 8, 2018 Changes in this version + var Compress bool + var DefaultAlsoToStdErr = false + var DefaultDisplay = 3 + var DefaultLogDirName = "log" + var DefaultToStdErr = false + var DefaultVerbosity = 5 + var MaxAge time.Duration + var MaxSize uint64 = 1024 * 1800 + var MaxTotalSize uint64 + var MinSize uint64 + var RotationInterval = Never + var Stats struct + func CopyStandardLogTo(name string) + func Error(args ...interface{}) + func ErrorDepth(depth int, args ...interface{}) + func Errorf(format string, args ...interface{}) + func Errorln(args ...interface{}) + func Exit(args ...interface{}) + func ExitDepth(depth int, args ...interface{}) + func Exitf(format string, args ...interface{}) + func Exitln(args ...interface{}) + func Fatal(args ...interface{}) + func FatalDepth(depth int, args ...interface{}) + func Fatalf(format string, args ...interface{}) + func Fatalln(args ...interface{}) + func Flush() + func GetLogDir() string + func GetLogDirs() []string + func GetVModule() *moduleSpec + func Info(args ...interface{}) + func InfoDepth(depth int, args ...interface{}) + func Infof(format string, args ...interface{}) + func Infoln(args ...interface{}) + func Separator(iterable string) string + func SetAlsoToStderr(to bool) + func SetD(v int) + func SetLogDir(str string) + func SetToStderr(toStderr bool) + func SetV(v int) + func SetVTraceThreshold(v int) + func Warning(args ...interface{}) + func WarningDepth(depth int, args ...interface{}) + func Warningf(format string, args ...interface{}) + func Warningln(args ...interface{}) + type Displayable bool + func D(level Level) Displayable + func (d Displayable) Errorf(format string, args ...interface{}) + func (d Displayable) Errorln(args ...interface{}) + func (d Displayable) Infof(format string, args ...interface{}) + func (d Displayable) Infoln(args ...interface{}) + func (d Displayable) Warnf(format string, args ...interface{}) + func (d Displayable) Warnln(args ...interface{}) + type Interval uint8 + const Daily + const Hourly + const Monthly + const Never + const Weekly + func ParseInterval(str string) (Interval, error) + type Level int32 + func GetDisplayable() *Level + func GetVTraceThreshold() *Level + func GetVerbosity() *Level + func (l *Level) Get() interface{} + func (l *Level) Set(value string) error + func (l *Level) String() string + type OutputStats struct + func (s *OutputStats) Bytes() int64 + func (s *OutputStats) Lines() int64 + type TraceLocation struct + func GetTraceLocation() *TraceLocation + func (t *TraceLocation) Get() interface{} + func (t *TraceLocation) Set(value string) error + func (t *TraceLocation) String() string + type Verbose bool + func V(level Level) Verbose + func (v Verbose) Error(args ...interface{}) + func (v Verbose) Errorf(format string, args ...interface{}) + func (v Verbose) Errorln(args ...interface{}) + func (v Verbose) Info(args ...interface{}) + func (v Verbose) Infof(format string, args ...interface{}) + func (v Verbose) Infoln(args ...interface{}) + func (v Verbose) Warn(args ...interface{}) + func (v Verbose) Warnf(format string, args ...interface{}) + func (v Verbose) Warnln(args ...interface{})