Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Message ¶
Message stores a log string and the severity for the log message.
func ErrorMessage ¶
ErrorMessage creates a Message with Severity set to Error.
func StatusMessage ¶
StatusMessage creates a Message with Severity set to Info.
func WarningMessage ¶
WarningMessage creates a Message with Severity set to Warning.
type Messages ¶
type Messages []Message
Messages is a slice of Message types.
func (Messages) MessagesWithSeverity ¶
MessagesWithSeverity returns Messages matching any of the provided Severity levels.
Click to show internal directories.
Click to hide internal directories.