Documentation
¶
Index ¶
- type Slack
- func (s Slack) Alert(message string, arguments ...interface{})
- func (s Slack) AlertWith(message string, context interface{})
- func (s Slack) Clear()
- func (s Slack) Critical(message string, arguments ...interface{})
- func (s Slack) CriticalWith(message string, context interface{})
- func (s Slack) Debug(message string, arguments ...interface{})
- func (s Slack) DebugWith(message string, context interface{})
- func (s Slack) Emergency(message string, arguments ...interface{})
- func (s Slack) EmergencyWith(message string, context interface{})
- func (s Slack) Error(message string, arguments ...interface{})
- func (s Slack) ErrorWith(message string, context interface{})
- func (s Slack) Group(_ string) inter.Logger
- func (s Slack) Info(message string, arguments ...interface{})
- func (s Slack) InfoWith(message string, context interface{})
- func (s Slack) Log(severity log_level.Level, message string, arguments ...interface{})
- func (s Slack) LogWith(severity log_level.Level, message string, data interface{})
- func (s Slack) Notice(message string, arguments ...interface{})
- func (s Slack) NoticeWith(message string, context interface{})
- func (s Slack) SetApp(_ inter.AppReader) inter.Logger
- func (s Slack) Warning(message string, arguments ...interface{})
- func (s Slack) WarningWith(message string, context interface{})
- type SlackRequestBody
- type Stack
- func (s Stack) Alert(message string, arguments ...interface{})
- func (s Stack) AlertWith(message string, context interface{})
- func (s Stack) Clear()
- func (s Stack) Critical(message string, arguments ...interface{})
- func (s Stack) CriticalWith(message string, context interface{})
- func (s Stack) Debug(message string, arguments ...interface{})
- func (s Stack) DebugWith(message string, context interface{})
- func (s Stack) Emergency(message string, arguments ...interface{})
- func (s Stack) EmergencyWith(message string, context interface{})
- func (s Stack) Error(message string, arguments ...interface{})
- func (s Stack) ErrorWith(message string, context interface{})
- func (s Stack) Group(group string) inter.Logger
- func (s Stack) Info(message string, arguments ...interface{})
- func (s Stack) InfoWith(message string, context interface{})
- func (s Stack) Log(severity log_level.Level, message string, arguments ...interface{})
- func (s Stack) LogWith(severity log_level.Level, message string, context interface{})
- func (s Stack) Notice(message string, arguments ...interface{})
- func (s Stack) NoticeWith(message string, context interface{})
- func (s Stack) SetApp(app inter.AppReader) inter.Logger
- func (s Stack) Warning(message string, arguments ...interface{})
- func (s Stack) WarningWith(message string, context interface{})
- type Syslog
- func (r Syslog) Alert(message string, arguments ...interface{})
- func (r Syslog) AlertWith(message string, context interface{})
- func (r Syslog) Clear()
- func (r Syslog) Critical(message string, arguments ...interface{})
- func (r Syslog) CriticalWith(message string, context interface{})
- func (r Syslog) Debug(message string, arguments ...interface{})
- func (r Syslog) DebugWith(message string, context interface{})
- func (r Syslog) Emergency(message string, arguments ...interface{})
- func (r Syslog) EmergencyWith(message string, context interface{})
- func (r Syslog) Error(message string, arguments ...interface{})
- func (r Syslog) ErrorWith(message string, context interface{})
- func (r Syslog) Group(group string) inter.Logger
- func (r Syslog) Info(message string, arguments ...interface{})
- func (r Syslog) InfoWith(message string, context interface{})
- func (r Syslog) Log(severity log_level.Level, message string, arguments ...interface{})
- func (r Syslog) LogWith(severity log_level.Level, message string, rawContext interface{})
- func (r Syslog) Notice(message string, arguments ...interface{})
- func (r Syslog) NoticeWith(message string, context interface{})
- func (r Syslog) SetApp(app inter.AppReader) inter.Logger
- func (r Syslog) Warning(message string, arguments ...interface{})
- func (r Syslog) WarningWith(message string, context interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Slack ¶
func (Slack) Alert ¶
A condition that should be corrected immediately, such as a corrupted system contextbase.
func (Slack) AlertWith ¶
A condition that should be corrected immediately, such as a corrupted system contextbase. w
func (Slack) CriticalWith ¶
Critical conditions
func (Slack) Debug ¶
Debug-level messages Messages containing information that is normally only useful when debugging a program.
func (Slack) DebugWith ¶
Debug-level messages Messages containing information that is normally only useful when debugging a program.
func (Slack) EmergencyWith ¶
Log that the system is unusable
func (Slack) Notice ¶
Normal but significant conditions Conditions that are not error conditions, but that may require special handling.
func (Slack) NoticeWith ¶
Normal but significant conditions Conditions that are not error conditions, but that may require special handling.
func (Slack) WarningWith ¶
Warning conditions
type SlackRequestBody ¶
type SlackRequestBody struct {
Text string `json:"text"`
}
type Stack ¶
type Stack struct {
Channels []string
// contains filtered or unexported fields
}
func (Stack) CriticalWith ¶
func (Stack) EmergencyWith ¶
func (Stack) NoticeWith ¶
func (Stack) WarningWith ¶
type Syslog ¶
type Syslog struct {
Path string
Facility syslog.Facility
Writer io.Writer
Permission os.FileMode
MinLevel log_level.Level
MaxFiles int
HideStackTrace bool
// contains filtered or unexported fields
}
func (Syslog) Alert ¶
A condition that should be corrected immediately, such as a corrupted system contextbase.
func (Syslog) AlertWith ¶
A condition that should be corrected immediately, such as a corrupted system contextbase. w
func (Syslog) CriticalWith ¶
Critical conditions
func (Syslog) Debug ¶
Debug-level messages Messages containing information that is normally only useful when debugging a program.
func (Syslog) DebugWith ¶
Debug-level messages Messages containing information that is normally only useful when debugging a program.
func (Syslog) EmergencyWith ¶
Log that the system is unusable
func (Syslog) Notice ¶
Normal but significant conditions Conditions that are not error conditions, but that may require special handling.
func (Syslog) NoticeWith ¶
Normal but significant conditions Conditions that are not error conditions, but that may require special handling.
func (Syslog) WarningWith ¶
Warning conditions