Add timestamp logging to logger visitor.
Refactor Logger class.