Houdini 20.5 Python scripting hou hou.logging

hou.logging.FileSink class

Represents a logging destination that writes log entries to a file.

Inheritance

This kind of sink can be used to send log entries to a file on disk. Some of the log entry details are lost in writing the data to disk, as each log entry is output simply as a time stamp followed by the message text. So for most situations, using the Log Viewer pane to investigate log entries will be preferable.

Tip

In order to ensure all logs are captured and committed to disk, this sink type opens the log file, writes the log entry, and closes the file for each log message. This can introduce noticeable performance issues if a large amount of information is being logged. Therefore it is strongly recommended that the destination file be local to the machine running Houdini, and preferably be kept on an SSD hard drive.

Methods

Methods from hou.logging.Sink

hou.logging