Skip to content

Commit

Permalink
Merge pull request #44 from dl1998/fix-interface-for-structured-logger
Browse files Browse the repository at this point in the history
Fix methods definitions for Interface
  • Loading branch information
dl1998 authored Apr 21, 2024
2 parents 2e265bb + 1349f58 commit 1486797
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions pkg/structuredlogger/structuredlogger.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,17 @@ type Interface interface {
Handlers() []handler.Interface
AddHandler(handlerInterface handler.Interface)
RemoveHandler(handlerInterface handler.Interface)
Trace(message string, parameters ...any)
Debug(message string, parameters ...any)
Verbose(message string, parameters ...any)
Info(message string, parameters ...any)
Notice(message string, parameters ...any)
Warning(message string, parameters ...any)
Severe(message string, parameters ...any)
Error(message string, parameters ...any)
Alert(message string, parameters ...any)
Critical(message string, parameters ...any)
Emergency(message string, parameters ...any)
Trace(parameters ...any)
Debug(parameters ...any)
Verbose(parameters ...any)
Info(parameters ...any)
Notice(parameters ...any)
Warning(parameters ...any)
Severe(parameters ...any)
Error(parameters ...any)
Alert(parameters ...any)
Critical(parameters ...any)
Emergency(parameters ...any)
ErrorLevel() level.Level
SetErrorLevel(newLevel level.Level)
PanicLevel() level.Level
Expand Down

0 comments on commit 1486797

Please sign in to comment.