Houdini 20.5 Python scripting hou hou.logging

hou.logging.defaultSink HOM function

Return a shared memory sink object owned by the current Houdini session.

defaultSink(force_create) hou.logging.MemorySink or None

Every Houdini session can have a single shared hou.logging.MemorySink object which is used by all Log Viewer panes to display logs generated by the current Houdini session. This function provides access to this shared sink object.

force_create

If the default sink for the current Houdini session has not been created, this parameter controls whether the default sink should be created. Otherwise this method will return None. If the default sink has already been created, this parameter has no effect.

hou.logging