Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StandardOutputLogger ¶
type StandardOutputLogger struct { *loggingdecorator.ColoringScheme // contains filtered or unexported fields }
StandardOutputLogger is the implementation of standard output logging
func New ¶
func New() *StandardOutputLogger
New properly creates a new standard output logger initializing its internal state with default values
func (StandardOutputLogger) Log ¶
func (logger StandardOutputLogger) Log(msg logging.LogMessage) error
Log writes the given log message to the standard output using the logger defined format
func (*StandardOutputLogger) WithColoringScheme ¶
func (logger *StandardOutputLogger) WithColoringScheme(scheme *loggingdecorator.ColoringScheme) *StandardOutputLogger
WithColoringScheme sets the coloring scheme and returns the logger itself
func (*StandardOutputLogger) WithFormat ¶
func (logger *StandardOutputLogger) WithFormat(format string) *StandardOutputLogger
WithFormat sets the logger format and returns the logger itself
Click to show internal directories.
Click to hide internal directories.