Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger interface { New(context map[string]interface{}) Logger Error(msg string, context map[string]interface{}) Warn(msg string, context map[string]interface{}) Info(msg string, context map[string]interface{}) Debug(msg string, context map[string]interface{}) DebugEnabled() bool }
Logger is an interface compatible with newrelic.Logger
func NewInMemoryLogfmtLogger ¶
NewInMemoryLogfmtLogger writes logfmt-formatted records to the provided writer.
func NewMultiLogger ¶
NewMultiLogger returns a composed Logger that forwards all calls to all provided Loggers.
Click to show internal directories.
Click to hide internal directories.