# HG changeset patch # User Chris Cannam # Date 1539338401 -3600 # Node ID 04a198887a3d28ec2cd7172d69f9c32fdc168cc4 # Parent 66c1988fc906af484f4e6d839b1a2abcf6eda128 Datestamp debug log diff -r 66c1988fc906 -r 04a198887a3d base/Debug.cpp --- a/base/Debug.cpp Thu Oct 11 13:08:21 2018 +0100 +++ b/base/Debug.cpp Fri Oct 12 11:00:01 2018 +0100 @@ -20,6 +20,7 @@ #include #include #include +#include #include @@ -82,8 +83,9 @@ << "Failed to open debug log file " << fileName << " for writing"; } else { -// cerr << m_prefix << ": Log file is " << fileName << endl; m_ok = true; + (*this) << "Debug log started at " + << QDateTime::currentDateTime().toString() << endl; } }