Logstream: Added a logging class for outputting messages in headless mode.

This commit is contained in:
Edward d'Auvergne 2018-06-08 21:42:47 +02:00
parent 2e3cace7f9
commit 2c9420d9bc
2 changed files with 3 additions and 1 deletions

View File

@ -34,7 +34,8 @@ typedef enum {
SG_GUI = 0x00800000,
SG_TERRASYNC = 0x01000000,
SG_PARTICLES = 0x02000000,
SG_UNDEFD = 0x04000000, // For range checking
SG_HEADLESS = 0x04000000,
SG_UNDEFD = 0x08000000, // For range checking
SG_ALL = 0xFFFFFFFF
} sgDebugClass;

View File

@ -100,6 +100,7 @@ const char* LogCallback::debugClassToString(sgDebugClass c)
case SG_GUI: return "gui";
case SG_TERRASYNC: return "terrasync";
case SG_PARTICLES: return "particles";
case SG_HEADLESS: return "headless";
default: return "unknown";
}
}