luckyrobots/media/LogConfig.xml
Goran Lazarevski 997b97a113 first commit
2025-03-12 11:55:10 +01:00

53 lines
2.2 KiB
XML

<DebugLogConfig>
<!-- Component defaults -->
<Defaults>
<DefaultChannels>
<DebugChannelConfig Name="LogToOutputWindow" />
<DebugChannelConfig Name="LogToMemory" />
<DebugChannelConfig Name="LogToTestRunner" />
</DefaultChannels>
<DefaultVerbosity Verbosity="Warn" />
</Defaults>
<!-- Overlay Options -->
<Overlay DisplayMessageCount="15"
MessageLifeTime="10"
DefaultEnabled="false"
ShowAllErrors="true"
ShowAllWarning="false"
ShowAllMessages="false">
<CategorySettings>
<!--Category maps to CDebugContext::Enum. Should show is either true or false.
Example:
<DebugLogOverlayCategory Category="Graphics" MinimumLogLevel="Warn" ShouldShow="true"/>
-->
<DebugLogOverlayCategory Category="Critical" MinimumLogLevel="Error" ShouldShow="false"/>
</CategorySettings>
</Overlay>
<!-- Default Channel Options -->
<Channels>
<DebugLogChannel Name="LogToOutputWindow" MinimumLogLevel="TraceVerbose" OutputFormat="Full" />
<DebugLogChannel Name="LogToMemory" MinimumLogLevel="Error" OutputFormat="Raw" />
<DebugLogChannel Name="LogToFile" MinimumLogLevel="TraceVerbose" OutputFormat="Full" />
<DebugLogChannel Name="LogToTestRunner" MinimumLogLevel="ModHighest" OutputFormat="Raw" />
<DebugLogChannel Name="LogToNerd" MinimumLogLevel="Warn" OutputFormat="Raw" />
<DebugLogChannel Name="LogToOverlay" MinimumLogLevel="TraceVerbose" OutputFormat="Raw" />
</Channels>
<!-- Per category setting to assert on certain log severity. -->
<CategoryAssertLevels>
<!-- example
<DebugCategoryAssertConfig Category="Livery" MinLevelToAssertOn="Warn" />
-->
</CategoryAssertLevels>
<!-- Component level override. Setting the minimum log level here and Channels to log out to -->
<!-- example
<Components>
<DebugLogComponent Name="Content" MinimumLogLevel="TraceVerbose">
<EnabledChannels>
<DebugChannelConfig Name="LogToOutputWindow" />
<DebugChannelConfig Name="LogToMemory" />
<DebugChannelConfig Name="LogToTestRunner" />
</EnabledChannels>
</DebugLogComponent>
</Components>
-->
</DebugLogConfig>