Logstream: Added a logging class for outputting messages in headless mode.
This commit is contained in:
@@ -34,7 +34,8 @@ typedef enum {
|
|||||||
SG_GUI = 0x00800000,
|
SG_GUI = 0x00800000,
|
||||||
SG_TERRASYNC = 0x01000000,
|
SG_TERRASYNC = 0x01000000,
|
||||||
SG_PARTICLES = 0x02000000,
|
SG_PARTICLES = 0x02000000,
|
||||||
SG_UNDEFD = 0x04000000, // For range checking
|
SG_HEADLESS = 0x04000000,
|
||||||
|
SG_UNDEFD = 0x08000000, // For range checking
|
||||||
|
|
||||||
SG_ALL = 0xFFFFFFFF
|
SG_ALL = 0xFFFFFFFF
|
||||||
} sgDebugClass;
|
} sgDebugClass;
|
||||||
|
|||||||
@@ -100,6 +100,7 @@ const char* LogCallback::debugClassToString(sgDebugClass c)
|
|||||||
case SG_GUI: return "gui";
|
case SG_GUI: return "gui";
|
||||||
case SG_TERRASYNC: return "terrasync";
|
case SG_TERRASYNC: return "terrasync";
|
||||||
case SG_PARTICLES: return "particles";
|
case SG_PARTICLES: return "particles";
|
||||||
|
case SG_HEADLESS: return "headless";
|
||||||
default: return "unknown";
|
default: return "unknown";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user