fix: always init coloredOutput
This commit is contained in:
parent
29047e23d9
commit
e1475e798e
2
Log.cpp
2
Log.cpp
|
@ -63,7 +63,7 @@ public:
|
||||||
private:
|
private:
|
||||||
std::ostream* osStd = &std::cout;
|
std::ostream* osStd = &std::cout;
|
||||||
std::ostream* osErr = &std::cerr;
|
std::ostream* osErr = &std::cerr;
|
||||||
bool coloredOutput;
|
bool coloredOutput = false;
|
||||||
|
|
||||||
virtual void log(Level lvl, std::stringbuf* sbuf) {
|
virtual void log(Level lvl, std::stringbuf* sbuf) {
|
||||||
// off fatal error warn note info debug trace
|
// off fatal error warn note info debug trace
|
||||||
|
|
Loading…
Reference in New Issue