feat:disable log prefix date & timestamp
This commit is contained in:
parent
110fc71349
commit
eac7b671be
1 changed files with 2 additions and 0 deletions
|
|
@ -52,6 +52,8 @@ type LogEntry struct {
|
||||||
func init() {
|
func init() {
|
||||||
once.Do(func() {
|
once.Do(func() {
|
||||||
logger = &Logger{}
|
logger = &Logger{}
|
||||||
|
// disable default log prefix date & timestamp
|
||||||
|
log.SetFlags(0)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue