Back to index

natlog  0.91.0
log.cc
Go to the documentation of this file.
00001 #include "pcaprecord.ih"
00002 
00003 void PcapRecord::log(Record const *record, time_t endSeconds, 
00004                                            suseconds_t endMicroSeconds) const
00005 {
00006     d_stdMsg << "from " << 
00007                 ShowSeconds(seconds(*record)) << ':' << 
00008                         setfill('0') << setw(6) << microSeconds(*record) << 
00009             " until " << 
00010                 ShowSeconds(endSeconds) << ':' << 
00011                                         setw(6) << endMicroSeconds << 
00012                                         ShowSeconds::utcMarker() << ": ";
00013 
00014     display(d_stdMsg, record) << endl;
00015 }