Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultLogger ¶
DefaultLogger is a logger that logs messages
func NewDefaultLogger ¶
func NewDefaultLogger(name string) DefaultLogger
NewDefaultLogger creates a new logger
func (DefaultLogger) BuildMessage ¶
func (d DefaultLogger) BuildMessage(message string) string
BuildMessage creates a string that contains a message that could be either a success or an error
func (DefaultLogger) BuildMessageWithDetails ¶
func (d DefaultLogger) BuildMessageWithDetails( message string, details string, ) string
BuildMessageWithDetails creates a string that contains a message with details
func (DefaultLogger) LogMessage ¶
func (d DefaultLogger) LogMessage(message string)
LogMessage logs a message
func (DefaultLogger) LogMessageWithDetails ¶
func (d DefaultLogger) LogMessageWithDetails(message string, details string)
LogMessageWithDetails logs a message with details
Click to show internal directories.
Click to hide internal directories.