Documentation ¶ Index ¶ func GetCallerInfo(skip int) string func Level(levelStr string) logger.Level func LevelInfo(level logger.Level) string type Base func New(opts ...logger.Option) *Base func (b *Base) GetFileWriter(fc *logger.File) io.Writer func (b *Base) GetSkip() int type CallerInfo Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func GetCallerInfo ¶ func GetCallerInfo(skip int) string func Level ¶ func Level(levelStr string) logger.Level func LevelInfo ¶ func LevelInfo(level logger.Level) string Types ¶ type Base ¶ type Base struct { // contains filtered or unexported fields } func New ¶ func New(opts ...logger.Option) *Base func (*Base) GetFileWriter ¶ func (b *Base) GetFileWriter(fc *logger.File) io.Writer func (*Base) GetSkip ¶ added in v0.0.3 func (b *Base) GetSkip() int type CallerInfo ¶ type CallerInfo struct { Func string `json:"fun,omitempty"` File string `json:"file,omitempty"` Line int `json:"line,omitempty"` } Source Files ¶ View all Source files base.go Click to show internal directories. Click to hide internal directories.