mirror of https://github.com/deavmi/gogga.git
GoggaTransform
- `Level.WARN` is now yellow - Debugging color is now pink
This commit is contained in:
parent
a07db844e1
commit
f324399feb
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue