StructuredInfo logs an info message with structured fields
(msg string, attrs ...slog.Attr)
| 86 | |
| 87 | // StructuredInfo logs an info message with structured fields |
| 88 | func StructuredInfo(msg string, attrs ...slog.Attr) { |
| 89 | GetLogger().LogAttrs(context.Background(), slog.LevelInfo, msg, attrs...) |
| 90 | } |
| 91 | |
| 92 | // StructuredWarn logs a warning message with structured fields |
| 93 | func StructuredWarn(msg string, attrs ...slog.Attr) { |
no test coverage detected