fix inverted logic
This commit is contained in:
parent
e6a00ddcfd
commit
a9d99cbe54
@ -114,7 +114,7 @@ SimpleLogger::~SimpleLogger()
|
|||||||
std::lock_guard<std::mutex> lock(get_mutex());
|
std::lock_guard<std::mutex> lock(get_mutex());
|
||||||
if (!LogPolicy::GetInstance().IsMute())
|
if (!LogPolicy::GetInstance().IsMute())
|
||||||
{
|
{
|
||||||
const bool is_terminal = (0 != isatty(fileno(stdout)) ? true : false);
|
const bool is_terminal = (isatty(fileno(stdout)) ? false : true);
|
||||||
switch (level)
|
switch (level)
|
||||||
{
|
{
|
||||||
case logWARNING:
|
case logWARNING:
|
||||||
|
Loading…
Reference in New Issue
Block a user