mirror of https://github.com/AxioDL/logvisor.git
Made XtermColor publicly visible
This commit is contained in:
parent
8b9dd56955
commit
189e047977
|
@ -16,6 +16,9 @@ namespace LogVisor
|
||||||
#define LOG_UCS2 1
|
#define LOG_UCS2 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* True if ANSI color available */
|
||||||
|
extern bool XtermColor;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Severity level for log messages
|
* @brief Severity level for log messages
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -92,7 +92,7 @@ static HANDLE Term = 0;
|
||||||
#else
|
#else
|
||||||
static const char* Term = nullptr;
|
static const char* Term = nullptr;
|
||||||
#endif
|
#endif
|
||||||
static bool XtermColor = false;
|
bool XtermColor = false;
|
||||||
struct ConsoleLogger : public ILogger
|
struct ConsoleLogger : public ILogger
|
||||||
{
|
{
|
||||||
std::mutex m;
|
std::mutex m;
|
||||||
|
|
Loading…
Reference in New Issue