MCPcopy
hub / github.com/gofiber/fiber / initDefaultLogger

Function initDefaultLogger

log/default_test.go:19–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17const work = "work"
18
19func initDefaultLogger() {
20 logger = &defaultLogger{
21 stdlog: log.New(os.Stderr, "", 0),
22 depth: 4,
23 }
24 MustSetContextTemplate(ContextConfig{})
25}
26
27type byteSliceWriter struct {
28 b []byte

Callers 12

Test_DefaultLoggerFunction · 0.85
Test_DefaultFormatLoggerFunction · 0.85
Test_CtxLoggerFunction · 0.85
Test_WithContextTemplateFunction · 0.85
Test_DebugwFunction · 0.85
Test_InfowFunction · 0.85
Test_WarnwFunction · 0.85
Test_ErrorwFunction · 0.85
Test_PanicwFunction · 0.85
Test_TracewFunction · 0.85

Calls 2

MustSetContextTemplateFunction · 0.85
NewMethod · 0.65

Tested by

no test coverage detected