Module pyboiler.internal.log.record
Wrap python.logging.LogRecord
Classes
class Record (name: str, level: Level, msg: str, depth: int)
-
A LogRecord instance represents an event being logged.
Expand source code
class Record(slot_storage): """A LogRecord instance represents an event being logged.""" __slots__ = ("name", "level", "msg", "time", "meta") def __init__(self, name: str, level: Level, msg: str, depth: int): self.name = name self.level = level self.msg = msg self.time = dt.datetime.now() self.meta = meta(depth)
Ancestors
Instance variables
var level
var meta
var msg
var name
var time
Inherited members