Another source of time for the logging package?

S

Skip Montanaro

I have code I run in both live and historical modes. When running in
historical mode the input stream is a set of stored event sequences that
have their own timestamps. When picking through the logfiles for a
particular run, I'd much prefer it if the timestamps in the logfile
generated with the logging package corresponded to the timestamps on the
stored events, not to wall clock time. Looking at the code for the logging
package it's far from obvious that this is possible without some surgery.
Before I get out my scalpel, has anyone found a non-invasive way to do this
(or already done the surgery and would be willing to share it)?

Thanks,

Skip
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,240
Messages
2,571,211
Members
47,847
Latest member
ShavonneLa

Latest Threads

Top