MCPcopy Create free account
hub / github.com/ImageEngine/cortex / __getCallStr

Function __getCallStr

python/IECore/Log.py:76–77  ·  view source on GitHub ↗
(frame)

Source from the content-addressed store, hash-verified

74 IECore.debug("setLogLevel(", level, ")")
75
76def __getCallStr(frame):
77 return frame.f_globals.get("__name__", frame.f_globals.get("__file__", "N/A"))
78
79def __getCallContext(frame = None, withLineNumber = False):
80 if frame is None:

Callers 2

__getCallContextFunction · 0.85
showCallStackFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected