SyslogWriter is an interface matching a syslog.Writer struct.
| 13 | |
| 14 | // SyslogWriter is an interface matching a syslog.Writer struct. |
| 15 | type SyslogWriter interface { |
| 16 | io.Writer |
| 17 | Debug(m string) error |
| 18 | Info(m string) error |
| 19 | Warning(m string) error |
| 20 | Err(m string) error |
| 21 | Emerg(m string) error |
| 22 | Crit(m string) error |
| 23 | } |
| 24 | |
| 25 | type syslogWriter struct { |
| 26 | w SyslogWriter |
no outgoing calls
no test coverage detected