added log level legacy compatibility with old logger module