Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PLogger ¶
PLogger implements the ProverbLogger interface and relies on http://github.com/rs/zerolog
func NewPLogger ¶
NewPLogger returns a new PLogger.
func (PLogger) Proverb ¶
func (l PLogger) Proverb(p string) ProverbLogger
Proverb instructs the logger to log the proverb.
type ProverbLogger ¶
type ProverbLogger interface {
logger.Logger
Proverb(string) ProverbLogger
}
ProverbLogger defines the behavior of the logger. Exposes a function for each loggable field which maps to a LogKey. The functions invocations can be chained and terminated by one of the levelled function calls (Fatal, Error, Warn, Info).
Click to show internal directories.
Click to hide internal directories.