Switched logger to use new time-based counter function.