Works with newer monolog versions