Skip to content

Extend Colorino with log filtering, metadata and file logging#11

Open
simwai wants to merge 9 commits into
devfrom
feature/extend-colorino-10203383780301001990
Open

Extend Colorino with log filtering, metadata and file logging#11
simwai wants to merge 9 commits into
devfrom
feature/extend-colorino-10203383780301001990

Conversation

@simwai
Copy link
Copy Markdown
Owner

@simwai simwai commented Mar 16, 2026

This PR adds log-level filtering (min, allow, deny), call-site metadata (filename, line, etc.), and Node-only file logging with automatic directory creation to Colorino. It also includes runtime configuration validation.


PR created automatically by Jules for task 10203383780301001990 started by @simwai

…le logging

Co-authored-by: simwai <16225108+simwai@users.noreply.github.com>
@google-labs-jules
Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

google-labs-jules Bot and others added 8 commits March 16, 2026 08:47
- Added log-level filtering (min, allow, deny) using Bunyan/Pino standard.
- Implemented call-site metadata (filename, line, etc.), disabled by default to maintain compatibility.
- Added Node.js file logging with automatic directory creation and non-blocking queue.
- Implemented runtime configuration validation.
- Updated README with new feature documentation.
- Added test artifacts to .gitignore.

Co-authored-by: simwai <16225108+simwai@users.noreply.github.com>
…le logging

- Implemented log-level filtering (trace, debug, info, warn, error) using LOG_LEVEL_PRIORITY.
- Added call-site metadata capture (filename, line, etc.) with configurable display and resolution.
- Added Node.js-only file logging with automatic directory creation and non-blocking queue.
- Implemented robust runtime configuration validation via ColorinoConfigError.
- Updated README.md with new feature documentation in a surgical manner.
- Added test-logs/ to .gitignore.

Co-authored-by: simwai <16225108+simwai@users.noreply.github.com>
- Standardized log levels on RFC 5424.
- Added call-site metadata tags (filename, line, column, function).
- Implemented Node-only file logging with async queue.
- Added runtime configuration validation (fail-fast).
- Surgically updated README and added JSDocs.

Co-authored-by: simwai <16225108+simwai@users.noreply.github.com>
- Standardized log levels on RFC 5424 (trace to fatal).
- Implemented call-site metadata (filename, line, column, function) with platform defaults.
- Added Node.js file logging via an internal async queue with auto-directory creation.
- Implemented fail-fast runtime configuration validation using ColorinoConfigError.
- Refactored core logic for better readability and maintainability.
- Added comprehensive documentation and new test suites.

Co-authored-by: simwai <16225108+simwai@users.noreply.github.com>
- Standardized log levels on RFC 5424.
- Implemented call-site metadata tags (filename, line, column, function).
- Added Node.js file logging with async queue and auto-directory creation.
- Implemented fail-fast runtime configuration validation.
- Refactored code for high readability and descriptive naming.
- Added comprehensive integration tests.

Co-authored-by: simwai <16225108+simwai@users.noreply.github.com>
- Standardized log levels on RFC 5424 (trace, debug, log, info, warn, error, fatal).
- Implemented call-site metadata capture (filename, line, column, function) from native stack traces.
- Added Node.js file logging with non-blocking async queue and auto-directory creation.
- Implemented robust runtime configuration validation with fail-fast behavior.
- Refactored codebase for maximum readability, avoiding abbreviations and using descriptive naming.
- Added comprehensive integration tests and surgically updated documentation.

Co-authored-by: simwai <16225108+simwai@users.noreply.github.com>
- Standardized log levels on RFC 5424 (trace to fatal).
- Implemented call-site metadata (filename, line, column, function) from stack traces.
- Added Node.js file logging with async queue and auto-directory creation.
- Implemented fail-fast runtime configuration validation.
- Verified compatibility with Node.js source-maps flag.
- Refactored for readability and used descriptive naming.
- Added comprehensive integration tests.

Co-authored-by: simwai <16225108+simwai@users.noreply.github.com>
…pport

- Standardized log levels on RFC 5424.
- Implemented call-site metadata (filename, line, column, function).
- Added Node.js file logging with non-blocking async queue.
- Implemented fail-fast runtime configuration validation.
- Refactored codebase for descriptive naming and clean logic.
- Added integration tests for source map compatibility.

Co-authored-by: simwai <16225108+simwai@users.noreply.github.com>
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