From 5bca64cbc621dec080d6b597f6cfba55a5668ea9 Mon Sep 17 00:00:00 2001 From: Jason Prosser Date: Fri, 18 Feb 2022 15:14:46 -0600 Subject: [PATCH] add GetLevel() to LoggingEnabler --- loggingEnabler.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/loggingEnabler.go b/loggingEnabler.go index 3f03e65..c916a3f 100644 --- a/loggingEnabler.go +++ b/loggingEnabler.go @@ -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() +}