mirror of
https://github.com/khorevaa/logos.git
synced 2025-01-22 05:10:53 +02:00
fix: console sep to space
This commit is contained in:
parent
080f244651
commit
7594509206
@ -13,7 +13,7 @@ var defaultTimestampFormat = "2006-01-02T15:04:05.000Z0700"
|
||||
var baseTimestamp = time.Now()
|
||||
|
||||
var defaultConfig = Config{
|
||||
ConsoleSeparator: "\t",
|
||||
ConsoleSeparator: " ",
|
||||
TimestampFormat: defaultTimestampFormat,
|
||||
LineEnding: "\n",
|
||||
}
|
||||
|
@ -3,7 +3,6 @@ package logos
|
||||
import (
|
||||
"github.com/stretchr/testify/assert"
|
||||
"go.uber.org/zap"
|
||||
stdlog "log"
|
||||
"testing"
|
||||
)
|
||||
|
||||
@ -33,7 +32,7 @@ func TestNew(t *testing.T) {
|
||||
SetLevel(tt.logName, zap.DebugLevel)
|
||||
|
||||
for _, text := range tt.text {
|
||||
stdlog.Println(text)
|
||||
//stdlog.Println(text)
|
||||
log.Info(text)
|
||||
log.Debug(text)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user