Documentation ¶
Overview ¶
Package sysloglion defines functionality for integration with syslog.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // DefaultTextMarshaller is the default text Marshaller for syslog. DefaultTextMarshaller = lion.NewTextMarshaller( lion.TextMarshallerDisableTime(), lion.TextMarshallerDisableLevel(), ) )
Functions ¶
Types ¶
type PusherOption ¶
type PusherOption func(*pusher)
PusherOption is an option for constructing a new Pusher.
func PusherWithMarshaller ¶
func PusherWithMarshaller(marshaller lion.Marshaller) PusherOption
PusherWithMarshaller uses the Marshaller for the Pusher.
By default, DefaultTextMarshaller is used.
Click to show internal directories.
Click to hide internal directories.