Documentation ¶
Index ¶
- Constants
- type Auxiliary
- type Config
- type Context
- type Filter
- type Formatter
- type Level
- type Logger
- func (this Logger) Busy(slot Slot) bool
- func (this Logger) BusySlots() []Slot
- func (this Logger) CopyLink(dst, src Slot)
- func (this *Logger) Debug(args ...interface{})
- func (this *Logger) Debugf(fmtstr string, args ...interface{})
- func (this *Logger) Error(args ...interface{})
- func (this *Logger) Errorf(fmtstr string, args ...interface{})
- func (this Logger) ExitLevel() Level
- func (this *Logger) Fatal(args ...interface{})
- func (this *Logger) Fatalf(fmtstr string, args ...interface{})
- func (this Logger) Filter() Filter
- func (this Logger) FreeSlots() []Slot
- func (this *Logger) Info(args ...interface{})
- func (this *Logger) Infof(fmtstr string, args ...interface{})
- func (this Logger) Level() Level
- func (this Logger) Link(slot Slot, ft Formatter, wt Writer, opts ...interface{})
- func (this Logger) LinkFilter(slot Slot) Filter
- func (this Logger) LinkFormatter(slot Slot) Formatter
- func (this Logger) LinkLevel(slot Slot) Level
- func (this Logger) LinkWriter(slot Slot) Writer
- func (this *Logger) Log(calldepth int, level Level, args ...interface{})
- func (this *Logger) Logf(calldepth int, level Level, fmtstr string, args ...interface{})
- func (this Logger) MoveLink(to, from Slot)
- func (this *Logger) Panic(args ...interface{})
- func (this *Logger) Panicf(fmtstr string, args ...interface{})
- func (this Logger) SetExitLevel(level Level)
- func (this Logger) SetFilter(filter Filter)
- func (this Logger) SetLevel(level Level)
- func (this Logger) SetLinkFilter(slot Slot, filter Filter) bool
- func (this Logger) SetLinkFormatter(slot Slot, ft Formatter) bool
- func (this Logger) SetLinkLevel(slot Slot, level Level) bool
- func (this Logger) SetLinkWriter(slot Slot, wt Writer) bool
- func (this Logger) SetTrackLevel(level Level)
- func (this Logger) SwapLink(left, right Slot)
- func (this *Logger) Time(args ...interface{}) func()
- func (this *Logger) Timef(fmtstr string, args ...interface{}) func()
- func (this *Logger) Trace(args ...interface{})
- func (this *Logger) Tracef(fmtstr string, args ...interface{})
- func (this Logger) TrackLevel() Level
- func (this Logger) Unlink(slot Slot)
- func (this Logger) UnlinkAll()
- func (this *Logger) Warn(args ...interface{})
- func (this *Logger) Warnf(fmtstr string, args ...interface{})
- func (this *Logger) WithContext(kvs ...interface{}) *Logger
- func (this *Logger) WithMark(ok bool) *Logger
- func (this *Logger) WithPrefix(prefix string) *Logger
- type Record
- type Slot
- type Writer
Constants ¶
View Source
const ( DefaultLevel = LevelTrace DefaultTrackLevel = LevelFatal DefaultExitLevel = LevelOff )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶ added in v0.3.0
func (*Config) WithExitLevel ¶ added in v0.4.0
func (*Config) WithFilter ¶ added in v0.4.0
func (*Config) WithTrackLevel ¶ added in v0.4.0
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
func (Logger) LinkFilter ¶ added in v0.4.0
func (Logger) LinkFormatter ¶ added in v0.4.0
func (Logger) LinkWriter ¶ added in v0.4.0
func (Logger) SetExitLevel ¶ added in v0.4.0
func (this Logger) SetExitLevel(level Level)
func (Logger) SetLinkFilter ¶ added in v0.4.0
func (Logger) SetLinkFormatter ¶ added in v0.4.0
func (Logger) SetLinkLevel ¶ added in v0.4.0
func (Logger) SetLinkWriter ¶ added in v0.4.0
func (Logger) SetTrackLevel ¶ added in v0.4.0
func (this Logger) SetTrackLevel(level Level)
func (Logger) TrackLevel ¶ added in v0.4.0
func (this Logger) TrackLevel() Level
func (*Logger) WithContext ¶ added in v0.3.0
func (*Logger) WithPrefix ¶ added in v0.3.0
Click to show internal directories.
Click to hide internal directories.