From eddd7b381879919b0e618ad514475444749d5edf Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Tue, 10 Aug 2021 11:54:04 -0700 Subject: [PATCH] Remove set_level_by_argv. --- voussoirkit/vlogging.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/voussoirkit/vlogging.py b/voussoirkit/vlogging.py index 306993d..a54928f 100644 --- a/voussoirkit/vlogging.py +++ b/voussoirkit/vlogging.py @@ -148,13 +148,3 @@ def main_level_by_argv(argv): root.addHandler(handler) return argv - -def set_level_by_argv(log, argv): - ''' - This function sets the log's level by the flags in argv, then returns the - rest of argv which you can pass to your argparser. - ''' - (level, argv) = get_level_by_argv(argv) - log.setLevel(level) - - return argv