get_loglevel

lib.logger.get_loglevel(loglevel: str) int

Check whether a valid log level has been supplied, and return the numeric log level that corresponds to the given string level.

Parameters:

loglevel (str) – The loglevel that has been requested

Return type:

The numeric representation of the given loglevel