Documentation ¶
Index ¶
- Constants
- func DPanicf(format string, fields ...interface{})
- func Debugf(format string, fields ...interface{})
- func Errorf(format string, fields ...interface{})
- func Fatalf(format string, fields ...interface{})
- func GetLevel() string
- func GetName() string
- func Infof(format string, fields ...interface{})
- func Panicf(format string, fields ...interface{})
- func SetLevel(levelStr string) error
- func String() string
- func Warnf(format string, fields ...interface{})
- type Option
- type XFmt
- func (xFmt *XFmt) DPanicf(format string, fields ...interface{})
- func (xFmt *XFmt) Debugf(format string, fields ...interface{})
- func (xFmt *XFmt) Errorf(format string, fields ...interface{})
- func (xFmt *XFmt) Fatalf(format string, fields ...interface{})
- func (xFmt *XFmt) Infof(format string, fields ...interface{})
- func (xFmt *XFmt) Level() xlog.Level
- func (xFmt *XFmt) Panicf(format string, fields ...interface{})
- func (xFmt *XFmt) Warnf(format string, fields ...interface{})
Constants ¶
View Source
const ( DefaultName = "Defaultxfmt" DefaultLevel = "INFO" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
func DefaultOption ¶
func DefaultOption() *Option
Click to show internal directories.
Click to hide internal directories.