StructuredLogger writes log messages in JSON.
| 58 | |
| 59 | // StructuredLogger writes log messages in JSON. |
| 60 | type StructuredLogger struct { |
| 61 | stdLog *slog.Logger |
| 62 | errLog *slog.Logger |
| 63 | } |
| 64 | |
| 65 | // Infof logs informational messages |
| 66 | func (l *StructuredLogger) Infof(format string, v ...interface{}) { |
nothing calls this directly
no outgoing calls
no test coverage detected