mirror of
https://github.com/taigrr/log-socket
synced 2025-01-18 04:53:14 -08:00
Compare commits
3 Commits
v1.0.0
...
80b80758de
| Author | SHA1 | Date | |
|---|---|---|---|
|
80b80758de
|
|||
|
0fa4de7961
|
|||
|
50c507c8f4
|
@@ -7,6 +7,10 @@ import (
|
|||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
func Default() *Logger {
|
||||||
|
return &Logger{FileInfoDepth: 0}
|
||||||
|
}
|
||||||
|
|
||||||
func (l *Logger) SetInfoDepth(depth int) {
|
func (l *Logger) SetInfoDepth(depth int) {
|
||||||
l.FileInfoDepth = depth
|
l.FileInfoDepth = depth
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user