1
0
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:
khorevaa 2021-02-01 18:44:38 +03:00
parent 080f244651
commit 7594509206
2 changed files with 2 additions and 3 deletions

View File

@ -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",
}

View File

@ -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)
}