Added $expression to logger::warning call

There was a warning saying that not enough parameters sent to Logger::warning method.