- if (g_verbose) {
- std::ostringstream os;
- os << wdq_fname << ": Samples " << wdq.m_nSamples <<
- ", Channels " << wdq.m_nChannels <<
- ", Sample Rate " << wdq.m_sample_rate;
- info_msg (os.str().c_str());
+ if (! g_quiet || g_verbose || g_debug) {
+ std::ostringstream os1;
+ os1 << "File " << wdq_fname;
+ info_msg (os1.str().c_str());
+ std::ostringstream os2;
+ time_t time = wdq.m_time_acq_start;
+ struct tm* tm = gmtime (&time);
+ os2 << " Time File Creation: " << asctime(tm);
+ info_msg_sans_newline (os2.str().c_str());
+ std::ostringstream os3;
+ time = wdq.m_time_acq_stop;
+ tm = gmtime (&time);
+ os3 << " Time File Written: " << asctime(tm);
+ info_msg_sans_newline (os3.str().c_str());
+ std::ostringstream os4;
+ os4 << " Samples: " << wdq.m_nSamples <<
+ ", Channels: " << wdq.m_nChannels <<
+ ", Sample Rate: " << wdq.m_sample_rate;
+ info_msg (os4.str().c_str());