just injecting a logger is more flexible. the current way doesn't allow to inject another logger with a custom domain for example.