GoggaTransform

- `Level.WARN` is now yellow
- Debugging color is now pink
This commit is contained in:
Tristan B. Velloza Kildaire 2023-03-03 16:17:37 +02:00
parent a07db844e1
commit f324399feb
1 changed files with 7 additions and 2 deletions

View File

@ -130,16 +130,21 @@ private byte[] debugColor(string text, Level level)
{
messageBytes = cast(byte[])[27, '[','3','2','m'];
}
/* If WARNING, set warning */
/* If WARN, set warning */
else if(level == Level.WARN)
{
messageBytes = cast(byte[])[27, '[','3','5','m']; /* TODO: FInd yllow */
messageBytes = cast(byte[])[27, '[','3','1', ';', '9', '3', 'm'];
}
/* If ERROR, set error */
else if(level == Level.ERROR)
{
messageBytes = cast(byte[])[27, '[','3','1','m'];
}
/* If DEBUG, set debug */
else
{
messageBytes = cast(byte[])[27, '[','3','5','m'];
}
/* Add the message */
messageBytes ~= cast(byte[])text;