mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-31 21:03:48 +01:00
Add debug logging facilities.
This commit is contained in:
parent
737e74582b
commit
2afd6b966e
6 changed files with 50 additions and 4 deletions
14
Penumbra/UI/Tabs/Debug/DebugConfigurationDrawer.cs
Normal file
14
Penumbra/UI/Tabs/Debug/DebugConfigurationDrawer.cs
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
using OtterGui.Text;
|
||||
|
||||
namespace Penumbra.UI.Tabs.Debug;
|
||||
|
||||
public static class DebugConfigurationDrawer
|
||||
{
|
||||
public static void Draw()
|
||||
{
|
||||
if (!ImUtf8.CollapsingHeaderId("Debug Logging Options"))
|
||||
return;
|
||||
|
||||
ImUtf8.Checkbox("Log IMC File Replacements"u8, ref DebugConfiguration.WriteImcBytesToLog);
|
||||
}
|
||||
}
|
||||
|
|
@ -181,6 +181,7 @@ public class DebugTab : Window, ITab, IUiService
|
|||
|
||||
DrawDebugTabGeneral();
|
||||
_crashHandlerPanel.Draw();
|
||||
DebugConfigurationDrawer.Draw();
|
||||
_diagnostics.DrawDiagnostics();
|
||||
DrawPerformanceTab();
|
||||
DrawPathResolverDebug();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue