LogLevelCtx allows logging where the level can be set via parameter.
(ctx context.Context, logLevel LogLevel, logKey LogKey, format string, args ...any)
| 196 | |
| 197 | // LogLevelCtx allows logging where the level can be set via parameter. |
| 198 | func LogLevelCtx(ctx context.Context, logLevel LogLevel, logKey LogKey, format string, args ...any) { |
| 199 | logTo(ctx, logLevel, logKey, format, args...) |
| 200 | } |
| 201 | |
| 202 | // RecordStats writes the given stats JSON content to a stats log file, if enabled. |
| 203 | // The content passed in is expected to be a JSON dictionary. |
no test coverage detected