with debug logging

This commit is contained in:
Kasper Juul Hermansen 2022-09-21 21:56:57 +02:00
parent 571b5811de
commit f4290d8300
Signed by: kjuulh
GPG Key ID: 57B6E1465221F912
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ name: write-a-readme
select: select:
repositories: repositories:
- git@git.front.kjuulh.io:kjuulh/octopush-test.git - git@git.front.kjuulh.io:kjuulh/octopush-test.git
- git@git.front.kjuulh.io:kjuulh/octopush.git #- git@git.front.kjuulh.io:kjuulh/octopush.git
# providers: # providers:
# - gitea: https://git.front.kjuulh.io # - gitea: https://git.front.kjuulh.io
# organisation: "cibus" # organisation: "cibus"

View File

@ -12,7 +12,7 @@ func New() (*zap.Logger, error) {
return lvl >= zapcore.ErrorLevel return lvl >= zapcore.ErrorLevel
}) })
lowPriority := zap.LevelEnablerFunc(func(lvl zapcore.Level) bool { lowPriority := zap.LevelEnablerFunc(func(lvl zapcore.Level) bool {
return lvl < zapcore.ErrorLevel && lvl > zapcore.DebugLevel return lvl < zapcore.ErrorLevel // && lvl > zapcore.DebugLevel
}) })
config := zap.NewDevelopmentEncoderConfig() config := zap.NewDevelopmentEncoderConfig()