mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-02-08 22:13:48 +01:00
fix forgotten log colors
This commit is contained in:
parent
a6fb3b602e
commit
7477d2c219
1 changed files with 2 additions and 1 deletions
|
@ -28,9 +28,10 @@ namespace log {
|
||||||
* @note Using ISO 6429 (ANSI) color sequences
|
* @note Using ISO 6429 (ANSI) color sequences
|
||||||
*/
|
*/
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
static const char *LogMsgColors[] = { "", "", "", "", "" };
|
static const char *LogMsgColors[] = { "", "", "", "", "", "" };
|
||||||
#else /* UNIX */
|
#else /* UNIX */
|
||||||
static const char *LogMsgColors[] = {
|
static const char *LogMsgColors[] = {
|
||||||
|
[eLogNone] = "\033[0m", /* reset */
|
||||||
[eLogError] = "\033[1;31m", /* red */
|
[eLogError] = "\033[1;31m", /* red */
|
||||||
[eLogWarning] = "\033[1;33m", /* yellow */
|
[eLogWarning] = "\033[1;33m", /* yellow */
|
||||||
[eLogInfo] = "\033[1;36m", /* cyan */
|
[eLogInfo] = "\033[1;36m", /* cyan */
|
||||||
|
|
Loading…
Add table
Reference in a new issue