[core.logger] add 'warn' method to DummyLogger