Skip to content

Commit

Permalink
Feature/move logging (#1492)
Browse files Browse the repository at this point in the history
* move logging provider out

* move logging provider to own directory, remove singleton

* cleanup
  • Loading branch information
emrgnt-cmplxty authored Oct 25, 2024
1 parent a1accc0 commit cebc2ce
Show file tree
Hide file tree
Showing 53 changed files with 1,028 additions and 1,080 deletions.
5 changes: 1 addition & 4 deletions py/core/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,7 @@
"LogFilterCriteria",
"LogProcessor",
# Logging Providers
"SqlitePersistentLoggingProvider",
"LoggingConfig",
"R2RLoggingProvider",
"PersistentLoggingConfig",
# Run Manager
"RunManager",
"manage_run",
Expand All @@ -125,7 +123,6 @@
## PIPES
"AsyncPipe",
"AsyncState",
"PipeType",
## PROVIDERS
# Base provider classes
"AppConfig",
Expand Down
6 changes: 1 addition & 5 deletions py/core/base/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,7 @@
"LogAnalyticsConfig",
"LogFilterCriteria",
"LogProcessor",
# Logging Providers
"SqlitePersistentLoggingProvider",
"LoggingConfig",
"R2RLoggingProvider",
"PersistentLoggingConfig",
# Run Manager
"RunManager",
"manage_run",
Expand All @@ -98,7 +95,6 @@
## PIPES
"AsyncPipe",
"AsyncState",
"PipeType",
## PROVIDERS
# Base provider classes
"AppConfig",
Expand Down
10 changes: 2 additions & 8 deletions py/core/base/logging/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,7 @@
LogFilterCriteria,
LogProcessor,
)
from .r2r_logger import (
LoggingConfig,
R2RLoggingProvider,
SqlitePersistentLoggingProvider,
)
from .r2r_logger import PersistentLoggingConfig
from .run_manager import RunManager, manage_run

__all__ = [
Expand All @@ -22,9 +18,7 @@
"LogFilterCriteria",
"LogProcessor",
# Logging Providers
"SqlitePersistentLoggingProvider",
"LoggingConfig",
"R2RLoggingProvider",
"PersistentLoggingConfig",
# Run Manager
"RunManager",
"manage_run",
Expand Down
Loading

0 comments on commit cebc2ce

Please sign in to comment.