Class LogLevelExtensions
Helper methods for log level handling.
Namespace: BepInEx.Logging
Assembly: BepInEx.dll
Syntax
public static class LogLevelExtensions
Methods
Returns a translation of a log level to it's associated console colour.
Declaration
public static ConsoleColor GetConsoleColor(this LogLevel level)
Parameters
Type | Name | Description |
---|---|---|
LogLevel |
level |
The log level(s). |
Returns
Type | Description |
---|---|
System.ConsoleColor |
A console color associated with the highest log level supplied. |