MCPcopy
hub / github.com/tinyauthapp/tinyauth / Init

Method Init

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

Source from the content-addressed store, hash-verified

67}
68
69func (l *Logger) Init() {
70 Audit = l.Audit
71 HTTP = l.HTTP
72 App = l.App
73}
74
75func createLogger(component string, streamCfg config.LogStreamConfig, baseLogger zerolog.Logger) zerolog.Logger {
76 if !streamCfg.Enabled {

Callers 13

runCmdFunction · 0.95
TestLoggerInitFunction · 0.45
TestUserControllerFunction · 0.45
TestWellKnownControllerFunction · 0.45
TestOIDCControllerFunction · 0.45
TestResourcesControllerFunction · 0.45
TestHealthControllerFunction · 0.45
TestProxyControllerFunction · 0.45
TestContextControllerFunction · 0.45
healthcheckCmdFunction · 0.45
generateTotpCmdFunction · 0.45
createUserCmdFunction · 0.45

Calls

no outgoing calls

Tested by 8

TestLoggerInitFunction · 0.36
TestUserControllerFunction · 0.36
TestWellKnownControllerFunction · 0.36
TestOIDCControllerFunction · 0.36
TestResourcesControllerFunction · 0.36
TestHealthControllerFunction · 0.36
TestProxyControllerFunction · 0.36
TestContextControllerFunction · 0.36