forked from goodboy/tractor
1
0
Fork 0

Bleh, make `log.devx()` level less then cancel but > `.runtime()`

runtime_to_msgspec
Tyler Goodlet 2024-06-11 20:45:41 -04:00
parent 7d4cd8944c
commit 7a89b59a3f
1 changed files with 2 additions and 2 deletions

View File

@ -57,8 +57,8 @@ DATE_FORMAT = '%b %d %H:%M:%S'
CUSTOM_LEVELS: dict[str, int] = {
'TRANSPORT': 5,
'RUNTIME': 15,
'CANCEL': 16,
'DEVX': 17,
'CANCEL': 18,
'PDB': 500,
}
STD_PALETTE = {
@ -111,7 +111,7 @@ class StackLevelAdapter(LoggerAdapter):
'''
return self.log(
level=16,
level=22,
msg=msg,
# stacklevel=4,
)