type github.com/gotd/log.Level
13 uses
github.com/gotd/log (current package)
helper.go#L41: func (h Helper) Enabled(ctx context.Context, level Level) bool {
log.go#L21: type Level int
log.go#L25: LevelDebug Level = -4
log.go#L26: LevelInfo Level = 0
log.go#L27: LevelWarn Level = 4
log.go#L28: LevelError Level = 8
log.go#L32: func (l Level) String() string {
log.go#L51: Enabled(ctx context.Context, level Level) bool
log.go#L54: Log(ctx context.Context, level Level, msg string, attrs ...Attr)
log.go#L62: func (nop) Enabled(context.Context, Level) bool { return false }
log.go#L63: func (nop) Log(context.Context, Level, string, ...Attr) {}
with.go#L55: func (w *withLogger) Enabled(ctx context.Context, level Level) bool {
with.go#L59: func (w *withLogger) Log(ctx context.Context, level Level, msg string, attrs ...Attr) {
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |