allow to use ruby logger instances (used in tests)