backendFormatter combines a backend with a specific formatter making it possible to have different log formats for different backends.
| 395 | // backendFormatter combines a backend with a specific formatter making it |
| 396 | // possible to have different log formats for different backends. |
| 397 | type backendFormatter struct { |
| 398 | b Backend |
| 399 | f Formatter |
| 400 | } |
| 401 | |
| 402 | // NewBackendFormatter creates a new backend which makes all records that |
| 403 | // passes through it beeing formatted by the specific formatter. |
nothing calls this directly
no outgoing calls
no test coverage detected