My Logger class uses DateTime to print up to millisecond accuracy to logfile, however I notice it keeps removing the training zeros which is rather annoying.
Any ideas
From The FFF Custom Format Specifier;
The "FFF" custom format specifier represents the three most significant digits of the seconds fraction; that is, it represents the milliseconds in a date and time value. However, trailing zeros or three zero digits are not displayed.
You can use lower case fff specifier instead.