def _create_json_formatter() -> logging.Formatter:
    supported_keys = ['asctime', 'filename', 'funcName', 'levelname', 'lineno', 'module', 'message', 'name', 'pathname']

    def log_format(x):
        'Used to give JsonFormatter proper parameter format'
        return ['%({0:s})'.format(i) for i in x]
    custom_format = ' '.join(log_format(supported_keys))
    return jsonlogger.JsonFormatter(custom_format)
def _create_json_formatter() -> logging.Formatter:
    supported_keys = ['asctime', 'filename', 'funcName', 'levelname', 'lineno', 'module', 'message', 'name', 'pathname']

    def log_format(x):
        'Used to give JsonFormatter proper parameter format'
        return ['%({0:s})'.format(i) for i in x]
    custom_format = ' '.join(log_format(supported_keys))
    return jsonlogger.JsonFormatter(custom_format)