MCPcopy Index your code
hub / github.com/tinyauthapp/tinyauth / NewTestLogger

Function NewTestLogger

internal/utils/tlog/log_wrapper.go:58–67  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

56}
57
58func NewTestLogger() *Logger {
59 return NewLogger(config.LogConfig{
60 Level: "trace",
61 Streams: config.LogStreams{
62 HTTP: config.LogStreamConfig{Enabled: true},
63 App: config.LogStreamConfig{Enabled: true},
64 Audit: config.LogStreamConfig{Enabled: true},
65 },
66 })
67}
68
69func (l *Logger) Init() {
70 Audit = l.Audit

Callers 7

TestUserControllerFunction · 0.92
TestWellKnownControllerFunction · 0.92
TestOIDCControllerFunction · 0.92
TestResourcesControllerFunction · 0.92
TestHealthControllerFunction · 0.92
TestProxyControllerFunction · 0.92
TestContextControllerFunction · 0.92

Calls 1

NewLoggerFunction · 0.85

Tested by 7

TestUserControllerFunction · 0.74
TestWellKnownControllerFunction · 0.74
TestOIDCControllerFunction · 0.74
TestResourcesControllerFunction · 0.74
TestHealthControllerFunction · 0.74
TestProxyControllerFunction · 0.74
TestContextControllerFunction · 0.74