Documentation ¶
Index ¶
Constants ¶
View Source
const ( LevelDebug = "DEBUG" LevelInfo = "INFO" LevelWarn = "WARN" LevelError = "ERROR" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Alerter ¶
type Alerter interface { Errorf(ctx context.Context, format string, args ...interface{}) Warnf(ctx context.Context, format string, args ...interface{}) Infof(ctx context.Context, format string, args ...interface{}) }
cclehui_test
type DefaultLogger ¶
type DefaultLogger struct{}
func (*DefaultLogger) Errorf ¶
func (l *DefaultLogger) Errorf(ctx context.Context, format string, args ...interface{})
Click to show internal directories.
Click to hide internal directories.