Documentation ¶
Index ¶
- Constants
- func MakeLogger(_lvl string)
- func MakeUDPLogger(_lvl string, url string) error
- type Conf
- type LVLWrap
- func (l *LVLWrap) Debug(ctx context.Context, v ...interface{})
- func (l *LVLWrap) Debugf(ctx context.Context, format string, v ...interface{})
- func (l *LVLWrap) Error(ctx context.Context, v ...interface{})
- func (l *LVLWrap) Errorf(ctx context.Context, format string, v ...interface{})
- func (l *LVLWrap) Fatal(errV error)
- func (l *LVLWrap) Info(ctx context.Context, v ...interface{})
- func (l *LVLWrap) Infof(ctx context.Context, format string, v ...interface{})
- func (l *LVLWrap) Trace(ctx context.Context, v ...interface{})
- func (l *LVLWrap) Tracef(ctx context.Context, format string, v ...interface{})
- func (l *LVLWrap) Warn(ctx context.Context, v ...interface{})
- func (l *LVLWrap) Warnf(ctx context.Context, format string, v ...interface{})
Constants ¶
View Source
const GLFmt = `{"version":"1.1","host":"ipx","message":"%v","level":%d}`
Variables ¶
This section is empty.
Functions ¶
func MakeLogger ¶
func MakeLogger(_lvl string)
func MakeUDPLogger ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.