def new_log_level(level, name, logger_name=None):
@CustomLogLevel(level, name, logger_name)<EOL>def _default_template(logger, msg, *args, **kwargs):<EOL><INDENT>return msg, args, kwargs<EOL><DEDENT>
Quick way to create a custom log level that behaves like the default levels in the logging module.
:param level: level number
:param name: level name
:param logger_name: optional logger name