Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsoleHandler ¶
func NewConsoleHandler ¶
func NewConsoleHandler() *ConsoleHandler
func (*ConsoleHandler) GetFormatter ¶
func (h *ConsoleHandler) GetFormatter() formatter.Formatter
GetFormatter Gets the formatter.
func (*ConsoleHandler) Handle ¶
func (h *ConsoleHandler) Handle(r record.Record) bool
Handle Handles a record.
func (*ConsoleHandler) IsHandling ¶
func (h *ConsoleHandler) IsHandling(r record.Record) bool
IsHandling Checks whether the given record will be handled by this handler.
func (*ConsoleHandler) SetFormatter ¶
func (h *ConsoleHandler) SetFormatter(f formatter.Formatter) *ConsoleHandler
SetFormatter Sets the formatter.
Click to show internal directories.
Click to hide internal directories.