Skip to content

Commit 7f22e56

Browse files
committed
fix: removes unused encoder instantiation
1 parent edf0e50 commit 7f22e56

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

logs/logger.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,6 @@ func (l *Logger) GetDateTimeFormat() s.DateTimeFormat {
203203
// SetDateTimeFormat sets the DateTimeFormat of the logger.
204204
func (l *Logger) SetDateTimeFormat(format s.DateTimeFormat) *Logger {
205205
l.dateTimeFormat = format
206-
l.SetEncoder(l.GetEncoderType())
207-
208206
return l
209207
}
210208

0 commit comments

Comments
 (0)