mirror of
https://github.com/datarhei/core.git
synced 2025-10-18 22:04:38 +08:00
Allow to define a logging target
This commit is contained in:
@@ -22,7 +22,7 @@ func NewLog(buffer log.BufferWriter) *LogHandler {
|
||||
}
|
||||
|
||||
if l.buffer == nil {
|
||||
l.buffer = log.NewBufferWriter(log.Lsilent, 1)
|
||||
l.buffer = log.NewBufferWriter(1)
|
||||
}
|
||||
|
||||
return l
|
||||
|
Reference in New Issue
Block a user