Skip to content

Commit 5fd8d51

Browse files
committed
Reordered log functions
1 parent ef9a280 commit 5fd8d51

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

qpylib/log_qpylib.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ def _choose_log_fn(level):
5353
'DEBUG': QLOGGER.debug,
5454
'WARNING': QLOGGER.warning,
5555
'ERROR': QLOGGER.error,
56-
'CRITICAL': QLOGGER.critical,
57-
'EXCEPTION': QLOGGER.exception
56+
'EXCEPTION': QLOGGER.exception,
57+
'CRITICAL': QLOGGER.critical
5858
}.get(level.upper(), QLOGGER.info)
5959

6060
def _map_notification_code(level):
@@ -63,8 +63,8 @@ def _map_notification_code(level):
6363
'DEBUG': "0000006000",
6464
'WARNING': "0000004000",
6565
'ERROR': "0000003000",
66-
'CRITICAL': "0000003000",
6766
'EXCEPTION': "0000003000",
67+
'CRITICAL': "0000003000"
6868
}.get(level.upper(), "0000006000")
6969

7070
def _map_log_level(level):

0 commit comments

Comments
 (0)