MCPcopy Index your code
hub / github.com/SamNet-dev/snix / Logger

Interface Logger

core/engine/engine.go:21–25  ·  view source on GitHub ↗

Logger is the minimum logging surface the engine needs. Implementations can plug into zap/zerolog/slog — the default uses Printf-style lines.

Source from the content-addressed store, hash-verified

19// Logger is the minimum logging surface the engine needs. Implementations
20// can plug into zap/zerolog/slog — the default uses Printf-style lines.
21type Logger interface {
22 Debugf(format string, args ...any)
23 Infof(format string, args ...any)
24 Warnf(format string, args ...any)
25}
26
27// Config tunes engine behaviour.
28type Config struct {

Callers 2

infofMethod · 0.65
warnfMethod · 0.65

Implementers 1

stdoutLoggercmd/snix/engine_linux.go

Calls

no outgoing calls

Tested by

no test coverage detected