Added a method to the strategy class to log messages with the WARNING level.
Added testcase.