Skip to content

Commit

Permalink
More tests for parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
dwest77a committed Jan 25, 2024
1 parent d383290 commit 4aae64d
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions assess.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,17 @@ def format_str(string, length):

def init_logger(verbose, mode, name):
"""Logger object init and configure with formatting
:param verbose: Display level can range from 0-2 for WARNING, INFO and DEBUG.
:param mode: Unused mode for saving data.
:param name: Name of master script from which logger is defined.
Parameters
----------
verbose : (int)
Display level can range from 0-2 for WARNING, INFO and DEBUG.
mode : int
Unused mode for saving data.
name : str
Name of master script from which logger is defined.
:return: Logging-type object"""
verbose = min(verbose, len(levels)-1)
Expand Down

0 comments on commit 4aae64d

Please sign in to comment.