Fix logger colours to make it look good on black and white background

This commit is contained in:
Anton Fediushin 2018-06-09 15:42:58 +02:00
parent ecb46db199
commit 7514f1183e

View file

@ -295,9 +295,9 @@ final class FileLogger : Logger {
final switch (msg.level) {
case LogLevel.trace: dst.put("\x1b[49;38;5;243m"); break;
case LogLevel.debugV: dst.put("\x1b[49;38;5;245m"); break;
case LogLevel.debug_: dst.put("\x1b[49;38;5;248m"); break;
case LogLevel.diagnostic: dst.put("\x1b[49;38;5;253m"); break;
case LogLevel.info: dst.put("\x1b[49;38;5;15m"); break;
case LogLevel.debug_: dst.put("\x1b[49;38;5;180m"); break;
case LogLevel.diagnostic: dst.put("\x1b[49;38;5;143m"); break;
case LogLevel.info: dst.put("\x1b[49;38;5;29m"); break;
case LogLevel.warn: dst.put("\x1b[49;38;5;220m"); break;
case LogLevel.error: dst.put("\x1b[49;38;5;9m"); break;
case LogLevel.critical: dst.put("\x1b[41;38;5;15m"); break;