LaunchBoxContributors
On this page

IPluginLogger14.1

Interface in Unbroken.LaunchBox.Plugins.Services.Logging

C#
public interface IPluginLogger
Writes plugin diagnostics to the host's local debug log. Available through constructor injection.

Properties

  • IsEnabledGets whether the host is currently writing debug logs.

IsEnabled

C#
bool IsEnabled { get; }
Gets whether the host is currently writing debug logs.

Methods

  • LogWrites a diagnostic message when logging is enabled. This does not display a user-facing error.

Log

C#
void Log(string message)
Writes a diagnostic message when logging is enabled. This does not display a user-facing error.
message
Diagnostic text without credentials, authentication headers, or sensitive response content.