mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
logger: use logger.DEBUG instead of 'debug'
Otherwise unittests fail with "ValueError: Unknown level: 'debug'". Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
+1
-1
@@ -27,7 +27,7 @@ class Logger(object):
|
||||
|
||||
@staticmethod
|
||||
def set_level(level):
|
||||
Logger._logger.setLevel(Logger.LEVEL_MAP.get(level.lower(), 'debug'))
|
||||
Logger._logger.setLevel(Logger.LEVEL_MAP.get(level.lower(), logging.DEBUG))
|
||||
|
||||
@staticmethod
|
||||
def be_quiet():
|
||||
|
||||
Reference in New Issue
Block a user