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]any) Logger NewContext(ctx context.Context) Logger Error(msg string, context map[string]any) Warn(msg string, context map[string]any) Info(msg string, context map[string]any) Debug(msg string, context map[string]any) 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.