Skip to content

Debugging

Eldar Muradov edited this page Feb 8, 2024 · 1 revision

Debug

To debug a message you can use class Debug. Which provides this methods:

void Log(string message, LogLevel level = LogLevel.Normal)
void LogError(string message)

To set log level you can use this enum:

enum LogLevel
{
    Normal,
    Warning,
    Error
}

Configuring DEBUG option in Build Manager launches CPU/GPU Profilers, prints all warnings/errors in console and monitors projects health.

Clone this wiki locally