Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Factory ¶
Factory defines methods a factory should implement, to create a Logger based on the specified name.
type NullLogger ¶
type NullLogger struct { }
NullLogger is a logger.Logger and logger.Factory implementation that does nothing.
func (*NullLogger) Create ¶
func (n *NullLogger) Create(_ string) Logger
Create implements logger.Factory and returns a NullLogger.
Click to show internal directories.
Click to hide internal directories.