Added echo param for the logger class.