Skip to content

Commit

Permalink
add GetLevel() to LoggingEnabler
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Prosser committed Feb 18, 2022
1 parent e61477a commit 5bca64c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions loggingEnabler.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,7 @@ func (s *LoggingEnabler) LogWarn(msg ...interface{}) {
func (s *LoggingEnabler) LogWarnf(format string, arg ...interface{}) {
s.logger.Warnf(format, arg...)
}

func (s *LoggingEnabler) GetLevel() string {
return s.logger.GetLevel()
}

1 comment on commit 5bca64c

@tomhollingworth
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice

Please sign in to comment.