MCPcopy
hub / github.com/deepops-ai/deepops / Logger

Interface Logger

backend/pkg/log/logger.go:69–75  ·  view source on GitHub ↗

Logger is a simplified abstraction of the zap.Logger

Source from the content-addressed store, hash-verified

67
68// Logger is a simplified abstraction of the zap.Logger
69type Logger interface {
70 Debug(msg string, fields ...zapcore.Field)
71 Info(msg string, fields ...zapcore.Field)
72 Error(msg string, fields ...zapcore.Field)
73 Fatal(msg string, fields ...zapcore.Field)
74 With(fields ...zapcore.Field) Logger
75}
76
77// wrapper delegates all calls to the underlying zap.Logger
78type wrapper struct {

Callers 27

DebugMethod · 0.65
DebugMethod · 0.65
InfoMethod · 0.65
InfoMethod · 0.65
StartMethod · 0.65
LoginFunction · 0.65
InitFunction · 0.65
GetDashboardFunction · 0.65
root.goFile · 0.65
IsErrUniqueConstraintFunction · 0.65
IsErrNoColumnFunction · 0.65

Implementers 2

spanLoggerbackend/pkg/log/spanlogger.go
wrapperbackend/pkg/log/logger.go

Calls

no outgoing calls

Tested by

no test coverage detected