Skip to content

Commit

Permalink
🔥 up: remove the deprecated SugaredLogger.Configure method
Browse files Browse the repository at this point in the history
  • Loading branch information
inhere committed Dec 1, 2023
1 parent 070293e commit c4c63c7
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions sugared.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,6 @@ func (sl *SugaredLogger) Config(fns ...SugaredLoggerFn) *SugaredLogger {
return sl
}

// Configure current logger
//
// Deprecated: please use SugaredLogger.Config()
func (sl *SugaredLogger) Configure(fn SugaredLoggerFn) *SugaredLogger { return sl.Config(fn) }

// Reset the logger
func (sl *SugaredLogger) Reset() {
*sl = *NewSugaredLogger(os.Stdout, DebugLevel)
Expand Down

0 comments on commit c4c63c7

Please sign in to comment.