Updated logger class with logline function

Added logline function to loggerClass.