From b138c9ebf3ce5846375f40bbb8cc6203ce736d69 Mon Sep 17 00:00:00 2001 From: Alexandre Girard Date: Mon, 28 Feb 2022 17:34:12 -0800 Subject: [PATCH] run gradle format --- airbyte-cdk/python/airbyte_cdk/logger.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/airbyte-cdk/python/airbyte_cdk/logger.py b/airbyte-cdk/python/airbyte_cdk/logger.py index 68a3f9dec5d1..a54c59325fbd 100644 --- a/airbyte-cdk/python/airbyte_cdk/logger.py +++ b/airbyte-cdk/python/airbyte_cdk/logger.py @@ -2,7 +2,6 @@ # Copyright (c) 2021 Airbyte, Inc., all rights reserved. # -from deprecated import deprecated import logging import logging.config import sys @@ -10,6 +9,7 @@ from typing import List, Tuple from airbyte_cdk.models import AirbyteLogMessage, AirbyteMessage +from deprecated import deprecated TRACE_LEVEL_NUM = 5 @@ -102,6 +102,7 @@ def log_by_prefix(msg: str, default_level: str) -> Tuple[int, str]: return log_level, rendered_message + @deprecated(version="0.1.47", reason="Use logging.getLogger('airbyte') instead") class AirbyteLogger: def log(self, level, message):