Documentation ¶ Index ¶ func AttrsFromAny(args ...any) []slog.Attr func LogOrNot(ctx context.Context, logger *slog.Logger, level slog.Level, msg string, ...) func LogOrNotAny(ctx context.Context, logger *slog.Logger, level slog.Level, msg string, ...) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func AttrsFromAny ¶ added in v0.64.11 func AttrsFromAny(args ...any) []slog.Attr func LogOrNot ¶ func LogOrNot(ctx context.Context, logger *slog.Logger, level slog.Level, msg string, attrs ...slog.Attr) func LogOrNotAny ¶ added in v0.64.11 func LogOrNotAny(ctx context.Context, logger *slog.Logger, level slog.Level, msg string, args ...any) Types ¶ This section is empty. Source Files ¶ View all Source files slogutil.go Click to show internal directories. Click to hide internal directories.