Mercurial > hg > svcore
comparison base/Debug.cpp @ 1771:40420fa95ffe
Print log file location
author | Chris Cannam |
---|---|
date | Tue, 13 Aug 2019 14:31:38 +0100 |
parents | 70e172e6cc59 |
children | 07a8793a0388 |
comparison
equal
deleted
inserted
replaced
1770:dffc70996f54 | 1771:40420fa95ffe |
---|---|
82 QDebug(QtWarningMsg) << (const char *)m_prefix | 82 QDebug(QtWarningMsg) << (const char *)m_prefix |
83 << "Failed to open debug log file " | 83 << "Failed to open debug log file " |
84 << fileName << " for writing"; | 84 << fileName << " for writing"; |
85 } else { | 85 } else { |
86 m_ok = true; | 86 m_ok = true; |
87 cerr << "Log file is " << fileName << endl; | |
87 (*this) << "Debug log started at " | 88 (*this) << "Debug log started at " |
88 << QDateTime::currentDateTime().toString() << endl; | 89 << QDateTime::currentDateTime().toString() << endl; |
89 } | 90 } |
90 } | 91 } |
91 | 92 |