From 48fa774de1afaefa11e1b03e2d1ce51225d6a4e4 Mon Sep 17 00:00:00 2001 From: HRUSHIKESH DOKALA <96101829+Hk669@users.noreply.github.com> Date: Sat, 25 May 2024 11:02:18 +0530 Subject: [PATCH] [fix] file logger import (#2773) Co-authored-by: Chi Wang --- autogen/logger/__init__.py | 3 ++- autogen/logger/file_logger.py | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/autogen/logger/__init__.py b/autogen/logger/__init__.py index 6561cab4360..c30711940c9 100644 --- a/autogen/logger/__init__.py +++ b/autogen/logger/__init__.py @@ -1,4 +1,5 @@ +from .file_logger import FileLogger from .logger_factory import LoggerFactory from .sqlite_logger import SqliteLogger -__all__ = ("LoggerFactory", "SqliteLogger") +__all__ = ("LoggerFactory", "SqliteLogger", "FileLogger") diff --git a/autogen/logger/file_logger.py b/autogen/logger/file_logger.py index 466ed62c849..fedcc134ab9 100644 --- a/autogen/logger/file_logger.py +++ b/autogen/logger/file_logger.py @@ -21,6 +21,8 @@ logger = logging.getLogger(__name__) +__all__ = ("FileLogger",) + class FileLogger(BaseLogger): def __init__(self, config: Dict[str, Any]):