1
0
mirror of https://github.com/taigrr/log-socket synced 2025-01-18 04:53:14 -08:00

Add Default() func

This commit is contained in:
Tai Groot 2023-03-29 14:26:06 -07:00
parent 0fa4de7961
commit 80b80758de
Signed by: taigrr
GPG Key ID: D00C269A87614812

View File

@ -7,6 +7,10 @@ import (
"time"
)
func Default() *Logger {
return &Logger{FileInfoDepth: 0}
}
func (l *Logger) SetInfoDepth(depth int) {
l.FileInfoDepth = depth
}