I use the Python 2.7 standard logging module to do the logging for our system. Occasionally, we run a simulation of past events, and it would really be useful if instead of using the system time in datetime.now() I would be able to use my own custom system time.
I know there is a way to use Formatter to alter the time string format, but can I actually alter the content of the logged time string as well?
Thank you very much