Skip to content

Commit 7aa094d

Browse files
committed
chore(logger): fix formating
1 parent c50c1f2 commit 7aa094d

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

logger/logrus_logger.go

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ type baseLogrus struct {
2929
//
3030
// - If the logger type specified in config is not supported, the function panics.
3131
func NewBaseLogger(config *Config) BaseLogger {
32-
if config == nil {
33-
config = &Config{
34-
BaseLoggerType: Logrus,
35-
Level: DebugLevel,
36-
FullTimestamp: false,
37-
TimestampFormat: "2006-01-02 15:04:05",
38-
DisableTimestamp: true,
39-
}
40-
}
32+
if config == nil {
33+
config = &Config{
34+
BaseLoggerType: Logrus,
35+
Level: DebugLevel,
36+
FullTimestamp: false,
37+
TimestampFormat: "2006-01-02 15:04:05",
38+
DisableTimestamp: true,
39+
}
40+
}
4141

4242
switch config.BaseLoggerType {
4343
case Logrus:

0 commit comments

Comments
 (0)