omni::structuredlog::fSchemaFlagLogWithProcessId

Defined in omni/structuredlog/IStructuredLog.h

constexpr SchemaFlags omni::structuredlog::fSchemaFlagLogWithProcessId = 0x00000002

Flag to indicate that the log file for this schema should include the process ID in the filename.

Note that using this flag will likely lead to a lot of log files being generated for an app since each session will create a [somewhat] unique file. This will however reduce the possibility of potential performance issues related to many processes trying to lock and access the same file(s) simultaneously. By default, the process ID is not included in a schema’s log filename.