Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StandardLogger ¶
type StandardLogger struct {
// contains filtered or unexported fields
}
StandardLogger represents a log function that can optionally send messages to SumoLogic
func NewStandardLogger ¶
func NewStandardLogger(sink io.Writer, sumoURL string) *StandardLogger
NewStandardLogger returns a StandardLogger object If sumoURL is not an empty string log entries will be send to SumoLogic as well as the sink
Click to show internal directories.
Click to hide internal directories.