feat: implement log isSimpilfy. (#2436)

* feat: implement log isSimpilfy.

* update go mod.
This commit is contained in:
Monet Lee
2024-07-24 19:27:02 +08:00
committed by GitHub
parent 88ad85b585
commit 80b332cb82
5 changed files with 13 additions and 9 deletions
+4 -2
View File
@@ -15,6 +15,9 @@
package config
import (
"strings"
"time"
"github.com/openimsdk/tools/db/mongoutil"
"github.com/openimsdk/tools/db/redisutil"
"github.com/openimsdk/tools/mq/kafka"
@@ -22,8 +25,6 @@ import (
"github.com/openimsdk/tools/s3/kodo"
"github.com/openimsdk/tools/s3/minio"
"github.com/openimsdk/tools/s3/oss"
"strings"
"time"
)
type CacheConfig struct {
@@ -48,6 +49,7 @@ type Log struct {
RemainLogLevel int `mapstructure:"remainLogLevel"`
IsStdout bool `mapstructure:"isStdout"`
IsJson bool `mapstructure:"isJson"`
IsSimplify bool `mapstructure:"isSimplify"`
WithStack bool `mapstructure:"withStack"`
}