Documentation
¶
Index ¶
- func CeeFormatter(p syslog.Priority, hostname, tag, content string) string
- func GetLogFormatter(logFormatterType string) logrus.Formatter
- func Log(message string, force bool, isError bool, err interface{})
- func LogError(message string, errMsg interface{})
- func LogStd(message string, force bool)
- type Logging
- type LoggingLogrus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CeeFormatter ¶
This srslog formatter is based on srslog/formatter.go's RFC3164Formatter. The default rsyslog input module expects RFC3164 formatted logs, using srslog's DefaultFormatter with "@cee:" wasn't
compatible enough to get it working.
some historical context on the efforts to standardize the syslog message
format(s): https://www.rsyslog.com/doc/syslog_parsing.html
func GetLogFormatter ¶
Types ¶
type LoggingLogrus ¶
func (*LoggingLogrus) Connect ¶
func (l *LoggingLogrus) Connect() bool
func (*LoggingLogrus) ShipEvents ¶
func (l *LoggingLogrus) ShipEvents(eventFields map[string]interface{}, Message string)
Directories
¶
Path | Synopsis |
---|---|
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
Click to show internal directories.
Click to hide internal directories.