Properties

IsEnabled

Is the console currently enabled. If this is false the console will ignore log messages and commands

C#
PowerConsole.IsEnabled = true;

IsVisible

Is the console visible to the user

C#
PowerConsole.IsVisible = true;

LogLevel

Set the minimum log level. Logs below this level won't be collected

C#
PowerConsole.LogLevel = LogLevel.Trace;

Title

Set the console window title

C#
PowerConsole.Title = "My Game Console";

OpenCloseHotkeys

The key or keys that need to be pressed to open or close the console

C#
PowerConsole.OpenCloseHotkeys = new List<KeyCode>() { KeyCode.LeftControl, KeyCode.I };

CommandEntered

An event that is raised when a command in entered into the console

C#
PowerConsole.CommandEntered += (s, e) => { var enteredCommand = e.Command; };