I use this formatter in logging:
formatter = logging.Formatter(fmt='%(asctime)s \t %(name)s \t %(levelname)s
\t %(message)s')
Sample output:
2012-07-19 21:34:58,382 root INFO Removed - C:\Users\ZDoor\Documents
The time stamp has millisecond precision but the decimal separator is a
Alex van der Spek wrote:
I use this formatter in logging:
formatter = logging.Formatter(fmt='%(asctime)s \t %(name)s \t
%(levelname)s \t %(message)s')
Sample output:
2012-07-19 21:34:58,382 root INFO Removed - C:\Users\ZDoor\Documents
The time stamp has millisecond precision
Alex van der Spek zd...@xs4all.nl writes:
I use this formatter in logging:
formatter = logging.Formatter(fmt='%(asctime)s \t %(name)s \t %(levelname)s
\t %(message)s')
Sample output:
2012-07-19 21:34:58,382 root INFO Removed - C:\Users\ZDoor\Documents
The time stamp has