Skip to content

Commit c58952b

Browse files
committed
Refactor database logging to use WordPressDatabaseEntity
Removed DatabaseEntity and LogsRepository classes and their tests. Updated tests to use the new WordPressDatabaseEntity class, including renaming and refactoring the test file. Updated documentation to reflect the new API structure. This change consolidates database logging logic under WordPressDatabaseEntity for improved maintainability.
1 parent dd5ae29 commit c58952b

File tree

8 files changed

+342
-908
lines changed

8 files changed

+342
-908
lines changed

plugins/wpgraphql-logging/composer.lock

Lines changed: 54 additions & 55 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugins/wpgraphql-logging/docs/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ wpgraphql-logging/
2424
│ ├── Settings/ # Admin settings functionality for displaying and saving data.
2525
│ ├── Events/ # Event logging, pub/sub event manager for extending the logging.
2626
│ ├── Logger/ # Logger service, Monolog handlers & processors
27+
│ ├── Api/ # Api interfaces for fetching and writing log data
2728
│ ├── Database/ # Database entity and helper
2829
│ ├── Handlers/ # Monolog WordPress database handler for logging data
2930
│ ├── Processors/ # Monolog processors for data sanitization and request headers

0 commit comments

Comments
 (0)