mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-24 07:06:41 +00:00
util.log: add levels like UNUSUAL
This commit is contained in:
parent
083ab7252c
commit
d9d1697996
@ -2,6 +2,16 @@
|
||||
from foolscap.logging import log
|
||||
from twisted.python import failure
|
||||
|
||||
NOISY = log.NOISY # 10
|
||||
OPERATIONAL = log.OPERATIONAL # 20
|
||||
UNUSUAL = log.UNUSUAL # 23
|
||||
INFREQUENT = log.INFREQUENT # 25
|
||||
CURIOUS = log.CURIOUS # 28
|
||||
WEIRD = log.WEIRD # 30
|
||||
SCARY = log.SCARY # 35
|
||||
BAD = log.BAD # 40
|
||||
|
||||
|
||||
msg = log.msg
|
||||
|
||||
def err(f=None, **kwargs):
|
||||
|
Loading…
Reference in New Issue
Block a user