- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for InfoContext (0.28 sec)
-
logger/slog.go
newLogger := *l newLogger.LogLevel = level return &newLogger } func (l *slogLogger) Info(ctx context.Context, msg string, data ...interface{}) { 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)) } }
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 Float64Value(float64) Value #56345 pkg log/slog, func Group(string, ...interface{}) Attr #59204 pkg log/slog, func GroupValue(...Attr) Value #56345 pkg log/slog, func InfoContext(context.Context, string, ...interface{}) #61200 pkg log/slog, func Info(string, ...interface{}) #56345 pkg log/slog, func Int64(string, int64) Attr #56345 pkg log/slog, func Int64Value(int64) Value #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)