- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for WarnContext (0.33 sec)
-
logger/slog.go
if l.LogLevel >= Info { l.Logger.InfoContext(ctx, msg, slog.Any("data", data)) } } func (l *slogLogger) Warn(ctx context.Context, msg string, data ...interface{}) { if l.LogLevel >= Warn { l.Logger.WarnContext(ctx, msg, slog.Any("data", data)) } } func (l *slogLogger) Error(ctx context.Context, msg string, data ...interface{}) { if l.LogLevel >= Error { l.Logger.ErrorContext(ctx, msg, slog.Any("data", data)) } }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Jul 28 09:34:58 UTC 2025 - 2.3K bytes - Viewed (0) -
api/go1.21.txt
pkg log/slog, func TimeValue(time.Time) Value #56345 pkg log/slog, func Uint64(string, uint64) Attr #56345 pkg log/slog, func Uint64Value(uint64) Value #56345 pkg log/slog, func WarnContext(context.Context, string, ...interface{}) #61200 pkg log/slog, func Warn(string, ...interface{}) #56345 pkg log/slog, func With(...interface{}) *Logger #56345 pkg log/slog, method (Attr) Equal(Attr) bool #56345
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Aug 07 09:39:17 UTC 2023 - 25.6K bytes - Viewed (0)