forked from goodboy/tractor
Bleh, make `log.devx()` level less then cancel but > `.runtime()`
parent
7d4cd8944c
commit
7a89b59a3f
|
@ -57,8 +57,8 @@ DATE_FORMAT = '%b %d %H:%M:%S'
|
||||||
CUSTOM_LEVELS: dict[str, int] = {
|
CUSTOM_LEVELS: dict[str, int] = {
|
||||||
'TRANSPORT': 5,
|
'TRANSPORT': 5,
|
||||||
'RUNTIME': 15,
|
'RUNTIME': 15,
|
||||||
'CANCEL': 16,
|
|
||||||
'DEVX': 17,
|
'DEVX': 17,
|
||||||
|
'CANCEL': 18,
|
||||||
'PDB': 500,
|
'PDB': 500,
|
||||||
}
|
}
|
||||||
STD_PALETTE = {
|
STD_PALETTE = {
|
||||||
|
@ -111,7 +111,7 @@ class StackLevelAdapter(LoggerAdapter):
|
||||||
|
|
||||||
'''
|
'''
|
||||||
return self.log(
|
return self.log(
|
||||||
level=16,
|
level=22,
|
||||||
msg=msg,
|
msg=msg,
|
||||||
# stacklevel=4,
|
# stacklevel=4,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue