Module pyboiler.internal.log.inspect

Functions

def frame(depth=0) ‑> inspect.FrameInfo
def meta(depth=0)
def stack()

Classes

class MetaWrapper (fr: inspect.FrameInfo)

Children of this class must have slots defined

Expand source code
class MetaWrapper(slot_storage):
    __slots__ = ("filepath", "line", "func")

    def __init__(self, fr: inspect.FrameInfo):
        self.filepath = pathlib.Path(fr.filename)
        self.line = fr.lineno
        self.func = fr.function

Ancestors

Instance variables

var filepath
var func
var line

Inherited members