Documentation
¶
Index ¶
- type Logger
- type Priority
- type StdoutLogger
- func (p *StdoutLogger) Debug(format string, args ...interface{})
- func (p *StdoutLogger) Error(format string, args ...interface{})
- func (p *StdoutLogger) Info(format string, args ...interface{})
- func (p *StdoutLogger) Notice(format string, args ...interface{})
- func (p *StdoutLogger) Warning(format string, args ...interface{})
- type SyslogLogger
- func (p *SyslogLogger) Debug(format string, args ...interface{})
- func (p *SyslogLogger) Error(format string, args ...interface{})
- func (p *SyslogLogger) Info(format string, args ...interface{})
- func (p *SyslogLogger) Notice(format string, args ...interface{})
- func (p *SyslogLogger) Warning(format string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger interface {
Debug(format string, args ...interface{})
Error(format string, args ...interface{})
Info(format string, args ...interface{})
Warning(format string, args ...interface{})
Notice(format string, args ...interface{})
}
func DialSyslogLogger ¶
func NewStdoutLogger ¶
type StdoutLogger ¶
type StdoutLogger struct {
// contains filtered or unexported fields
}
func (*StdoutLogger) Debug ¶
func (p *StdoutLogger) Debug(format string, args ...interface{})
func (*StdoutLogger) Error ¶
func (p *StdoutLogger) Error(format string, args ...interface{})
func (*StdoutLogger) Info ¶
func (p *StdoutLogger) Info(format string, args ...interface{})
func (*StdoutLogger) Notice ¶
func (p *StdoutLogger) Notice(format string, args ...interface{})
func (*StdoutLogger) Warning ¶
func (p *StdoutLogger) Warning(format string, args ...interface{})
type SyslogLogger ¶
type SyslogLogger struct {
// contains filtered or unexported fields
}
func (*SyslogLogger) Debug ¶
func (p *SyslogLogger) Debug(format string, args ...interface{})
func (*SyslogLogger) Error ¶
func (p *SyslogLogger) Error(format string, args ...interface{})
func (*SyslogLogger) Info ¶
func (p *SyslogLogger) Info(format string, args ...interface{})
func (*SyslogLogger) Notice ¶
func (p *SyslogLogger) Notice(format string, args ...interface{})
func (*SyslogLogger) Warning ¶
func (p *SyslogLogger) Warning(format string, args ...interface{})
Click to show internal directories.
Click to hide internal directories.