41 QDir dir = QFileInfo(
filename).absoluteDir();
43 return dir.mkpath(dir.absolutePath());
63 return err(errmsg,
"Unable to create path to log file.");
68 if (!newLogFile->open(QFile::WriteOnly|QIODevice::Append|QIODevice::Text)) {
70 return err(errmsg, newLogFile->errorString());
103 return (
_file ?
_file->fileName() : QString());;