compatibility with custom loggers