added Timestamp option to logWriter