Add logger mechanism for file and console logging.