Skip to content

Debology.Debby.Modules.Console ​

IConsoleModule Interface ​

The API for interacting with the Console module. This can be accessed via Console.

csharp
public interface IConsoleModule

Properties ​

IConsoleModule.EnableApplicationLogs Property ​

Enables or disables receiving logs from Application.logMessageReceivedThreaded

csharp
bool EnableApplicationLogs { set; }

Property Value ​

System.Boolean

Methods ​

IConsoleModule.Clear() Method ​

Clears all log messages from the console.

csharp
void Clear();

IConsoleModule.Open() Method ​

Opens the Console module.

csharp
void Open();

IConsoleModule.PushLogMessage(string, string, DebbyLogType) Method ​

Pushes a custom log message

csharp
void PushLogMessage(string message, string stacktrace=null, Debology.Debby.Modules.Console.DebbyLogType severity=Debology.Debby.Modules.Console.DebbyLogType.Info);

Parameters ​

message System.String

The message / title

stacktrace System.String

The stacktrace, or null if not relevant

severity DebbyLogType

The severity of the log

IConsoleModule.TogglePin() Method ​

Toggles the pinned console on or off. Useful if you bind it to a hotkey like `.

csharp
void TogglePin();