Added missing warning method to logger class