Documentation ¶
Index ¶
- type Logger
- func (log *Logger) Alert(msg string, args ...interface{})
- func (log *Logger) Crit(msg string, args ...interface{})
- func (log *Logger) Debug(msg string, args ...interface{})
- func (log *Logger) Emerg(msg string, args ...interface{})
- func (log *Logger) Err(msg string, args ...interface{})
- func (log *Logger) Info(msg string, args ...interface{})
- func (log *Logger) Notice(msg string, args ...interface{})
- func (log *Logger) Warning(msg string, args ...interface{})
- type ResponderLogger
- func (rl *ResponderLogger) Alert(msg string) error
- func (rl *ResponderLogger) Crit(msg string) error
- func (rl *ResponderLogger) Debug(msg string) error
- func (rl *ResponderLogger) Emerg(msg string) error
- func (rl *ResponderLogger) Err(msg string) error
- func (rl *ResponderLogger) Info(msg string) error
- func (rl *ResponderLogger) Notice(msg string) error
- func (rl *ResponderLogger) Warning(msg string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
Logger provides a syslog logger
type ResponderLogger ¶
type ResponderLogger struct {
Log *Logger
}
ResponderLogger wraps a Logger for the CFSSL responder interface
func (*ResponderLogger) Alert ¶
func (rl *ResponderLogger) Alert(msg string) error
Alert logs at the alert level
func (*ResponderLogger) Crit ¶
func (rl *ResponderLogger) Crit(msg string) error
Crit logs at the crit level
func (*ResponderLogger) Debug ¶
func (rl *ResponderLogger) Debug(msg string) error
Debug logs at the debug level
func (*ResponderLogger) Emerg ¶
func (rl *ResponderLogger) Emerg(msg string) error
Emerg logs at the emergency level
func (*ResponderLogger) Err ¶
func (rl *ResponderLogger) Err(msg string) error
Err logs at the error level
func (*ResponderLogger) Info ¶
func (rl *ResponderLogger) Info(msg string) error
Info logs at the info level
func (*ResponderLogger) Notice ¶
func (rl *ResponderLogger) Notice(msg string) error
Notice logs at the notice level
func (*ResponderLogger) Warning ¶
func (rl *ResponderLogger) Warning(msg string) error
Warning logs at the warning level
Click to show internal directories.
Click to hide internal directories.