Skip to content

Class TraceConfig

Definition

Namespace: StardewUI.Framework.Diagnostics
Assembly: StardewUI.dll

Configures the tracing behavior for StardewUI.

public class TraceConfig

Inheritance
Object ⇦ TraceConfig

Members

Constructors

Name Description
TraceConfig()

Properties

Name Description
EnableHudNotifications Whether to show HUD notifications when tracing is started or stopped.
OutputDirectory Directory where traces should be written.
ToggleHotkeys Hotkey(s) used to toggle tracing.

Details

Constructors

TraceConfig()

public TraceConfig();

Properties

EnableHudNotifications

Whether to show HUD notifications when tracing is started or stopped.

public bool EnableHudNotifications { get; set; }
Property Value

Boolean

Remarks

Notifications are always written to the SMAPI console log, but will not show in-game unless this setting is enabled.


OutputDirectory

Directory where traces should be written.

public string OutputDirectory { get; set; }
Property Value

string

Remarks

Unless an absolute path is specified, the directory is relative to Stardew's data directory, i.e. the same directory where Saves and ErrorLogs are written.


ToggleHotkeys

Hotkey(s) used to toggle tracing.

public StardewModdingAPI.Utilities.KeybindList ToggleHotkeys { get; set; }
Property Value

KeybindList