//
pkg.gl
Category
github.com/sigmavirus24/circuitry
log
package
0.1.1
Repository:
https://github.com/sigmavirus24/circuitry.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
2
Dependents
1
Files
59 SLOC
#
Functions
NewLogrus
NewLogrus creates a new Logrus implementation of the Logger interface using the specified *slog.Logger.
NewSLog
NewSLog creates a new SLog implementation of the Logger interface using the specified *slog.Logger.
#
Structs
Logrus
Logrus implements circuitry's Logger interface using sirupsen/logrus.
NoOp
NoOp implements a no-op version of the interface as a reasonable default for circuitry to use.
SLog
SLog wraps the standard library log/slog logger for use within circuitry.
#
Interfaces
Logger
Logger provides an interface to be used so that logging can be provided by the circuitry package.
#
Type aliases
Fields
Fields that can be logged with a single call.