Skip to content

feat: configurable system logging mechanism#34

Merged
davideast merged 2 commits into
mainfrom
logging-improvement-7961852786375485162
Dec 12, 2025
Merged

feat: configurable system logging mechanism#34
davideast merged 2 commits into
mainfrom
logging-improvement-7961852786375485162

Conversation

@davideast
Copy link
Copy Markdown
Owner

Refactored src/utils/logging.ts to include a SystemLogger that supports configurable log levels (debug, info, warn, error, silent). Updated src/core/dataprompt.ts to use getLogManager().system.warn instead of console.warn for non-critical warnings during initialization. Updated DatapromptConfig to support logLevel configuration. Added tests for the new logging functionality.

google-labs-jules Bot and others added 2 commits December 12, 2025 15:07
Refactored `src/utils/logging.ts` to include a `SystemLogger` that supports configurable log levels (`debug`, `info`, `warn`, `error`, `silent`).
Updated `src/core/dataprompt.ts` to use `getLogManager().system.warn` instead of `console.warn` for non-critical warnings during initialization.
Updated `DatapromptConfig` to support `logLevel` configuration.
Added tests for the new logging functionality.
@davideast davideast merged commit d462791 into main Dec 12, 2025
1 check passed
@davideast davideast deleted the logging-improvement-7961852786375485162 branch December 12, 2025 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant