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

Function TestLoggerInit

internal/utils/tlog/log_wrapper_test.go:42–47  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

40}
41
42func TestLoggerInit(t *testing.T) {
43 logger := tlog.NewSimpleLogger()
44 logger.Init()
45
46 assert.Assert(t, tlog.App.GetLevel() != zerolog.Disabled)
47}
48
49func TestLoggerWithDisabledStreams(t *testing.T) {
50 cfg := config.LogConfig{

Callers

nothing calls this directly

Calls 2

NewSimpleLoggerFunction · 0.92
InitMethod · 0.45

Tested by

no test coverage detected