houdini_logging_tools.handlers
houdini_logging_tools.handlers.shellio module
Custom logging stream handler which writes to Houdini Python Shell panels.
- class houdini_logging_tools.handlers.shellio.PythonShellHandler(stream=None)[source]
Bases:
StreamHandlerCustom stream handler which outputs to the interactive Python shell when it is open.
Houdini will redirect sys.stdout to be an instance of hou.ShellIO when there is a Python Shell panel active and displayed. This handler works by checking that sys.stdout is a hou.ShellIO and writes output to it accordingly. Otherwise, no output will be written.
houdini_logging_tools.handlers.houdini_logging module
Custom logging stream handler which writes to the Houdini logging API.