MCPcopy Index your code
hub / github.com/NdoleStudio/httpsms / logDriver

Function logDriver

api/pkg/di/container.go:1929–1934  ·  view source on GitHub ↗
(skipFrameCount int)

Source from the content-addressed store, hash-verified

1927}
1928
1929func logDriver(skipFrameCount int) *zerodriver.Logger {
1930 if isLocal() {
1931 return consoleLogger(skipFrameCount)
1932 }
1933 return axiomLogger(skipFrameCount)
1934}
1935
1936func axiomLogger(skipFrameCount int) *zerodriver.Logger {
1937 axiomWriter, err := axiomzerolog.New(

Callers 1

loggerFunction · 0.85

Calls 3

isLocalFunction · 0.85
consoleLoggerFunction · 0.85
axiomLoggerFunction · 0.85

Tested by

no test coverage detected