mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-03 03:50:58 +00:00
Use constants
This commit is contained in:
parent
5cf292e41a
commit
f9fa429f84
@ -1,11 +1,13 @@
|
|||||||
import sys
|
import sys
|
||||||
|
|
||||||
CRITICAL = 50
|
# raise Exception("Disabled")
|
||||||
ERROR = 40
|
|
||||||
WARNING = 30
|
CRITICAL = const(50)
|
||||||
INFO = 20
|
ERROR = const(40)
|
||||||
DEBUG = 10
|
WARNING = const(30)
|
||||||
NOTSET = 0
|
INFO = const(20)
|
||||||
|
DEBUG = const(10)
|
||||||
|
NOTSET = const(0)
|
||||||
|
|
||||||
_level_dict = {
|
_level_dict = {
|
||||||
CRITICAL: "CRIT",
|
CRITICAL: "CRIT",
|
||||||
|
Loading…
Reference in New Issue
Block a user