From 7514f1183e48129192277a104572df1c65f6960b Mon Sep 17 00:00:00 2001 From: Anton Fediushin Date: Sat, 9 Jun 2018 15:42:58 +0200 Subject: [PATCH] Fix logger colours to make it look good on black and white background --- source/vibe/core/log.d | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/vibe/core/log.d b/source/vibe/core/log.d index 0075501..2d8df7b 100644 --- a/source/vibe/core/log.d +++ b/source/vibe/core/log.d @@ -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;