Commit 70a9db9a authored by Nicolas Niclausse's avatar Nicolas Niclausse

Merge pull request #23 from d-tk/fatalerror

fatal log stop the application
parents e9275ca2 cda3b588
......@@ -54,6 +54,9 @@ void dtkLogEnginePrivate::write(void)
dtkLogger::instance().write(message);
else
dtkLogger::instance().write(message, level);
if(this->level == dtkLog::Fatal)
qFatal("Fatal error occured, please check log");
}
// /////////////////////////////////////////////////////////////////
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment