Backend is the interface which a log backend need to implement to be able to be used as a logging backend.
| 10 | // Backend is the interface which a log backend need to implement to be able to |
| 11 | // be used as a logging backend. |
| 12 | type Backend interface { |
| 13 | Log(Level, int, *Record) error |
| 14 | } |
| 15 | |
| 16 | // SetBackend replaces the backend currently set with the given new logging |
| 17 | // backend. |
no outgoing calls
no test coverage detected