StructuredWarn logs a warning message with structured fields
(msg string, attrs ...slog.Attr)
| 91 | |
| 92 | // StructuredWarn logs a warning message with structured fields |
| 93 | func StructuredWarn(msg string, attrs ...slog.Attr) { |
| 94 | GetLogger().LogAttrs(context.Background(), slog.LevelWarn, msg, attrs...) |
| 95 | } |
| 96 | |
| 97 | // StructuredError logs an error message with structured fields |
| 98 | func StructuredError(msg string, attrs ...slog.Attr) { |
nothing calls this directly
no test coverage detected