mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-20 11:58:55 +00:00
utils/log: Whitespace
This commit is contained in:
parent
ccaeb5a142
commit
b11bd6cf12
@ -159,9 +159,9 @@ def log_error(e, logger, critical=False):
|
||||
|
||||
:e: the error to log. should be an instance of ``Exception``
|
||||
:logger: logger to be used.
|
||||
:critical: if ``True``, this error will be logged at ``logging.CRITICAL``
|
||||
:critical: if ``True``, this error will be logged at ``logging.CRITICAL``
|
||||
level, otherwise it will be logged as ``logging.ERROR``.
|
||||
|
||||
|
||||
"""
|
||||
if critical:
|
||||
log_func = logger.critical
|
||||
|
Loading…
x
Reference in New Issue
Block a user