logger can print date of log