Skip to content

Commit ea96ae6

Browse files
Merge branch 'master' of github.com:Devsh-Graphics-Programming/Nabla
2 parents cd644ab + 6a09e0f commit ea96ae6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

include/nbl/system/CColoredStdoutLoggerANSI.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,19 @@ class CColoredStdoutLoggerANSI : public IThreadsafeLogger
2222
switch (logLevel)
2323
{
2424
case ELL_DEBUG:
25-
printf("\x1b[37m%s", str.data()); // White
25+
printf("\x1b[37m%s\x1b[0m", str.data()); // White
2626
break;
2727
case ELL_INFO:
28-
printf("\x1b[37m%s", str.data()); // White
28+
printf("\x1b[37m%s\x1b[0m", str.data()); // White
2929
break;
3030
case ELL_WARNING:
31-
printf("\x1b[33m%s", str.data()); // yellow
31+
printf("\x1b[33m%s\x1b[0m", str.data()); // yellow
3232
break;
3333
case ELL_ERROR:
34-
printf("\x1b[31m%s", str.data()); // red
34+
printf("\x1b[31m%s\x1b[0m", str.data()); // red
3535
break;
3636
case ELL_PERFORMANCE:
37-
printf("\x1b[34m%s", str.data()); // blue
37+
printf("\x1b[34m%s\x1b[0m", str.data()); // blue
3838
break;
3939
case ELL_NONE:
4040
assert(false);

0 commit comments

Comments
 (0)