Open
Add logger level-prefix toggle and default to plain message output#154
Conversation
Copilot
AI
changed the title
Add logger explicit-printing toggle with hidden-level default
Add logger level-prefix toggle and default to plain message output
Jul 23, 2026
Copilot created this pull request from a session on behalf of
JorgeG94
July 23, 2026 11:01
View session
JorgeG94
marked this pull request as ready for review
July 23, 2026 11:09
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #154 +/- ##
==========================================
- Coverage 96.31% 96.29% -0.02%
==========================================
Files 54 54
Lines 11724 11780 +56
Branches 923 925 +2
==========================================
+ Hits 11292 11344 +52
- Misses 432 436 +4
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
Owner
|
@copilot the new functions need testing |
Contributor
Author
Added/expanded tests for the new logger API in commit Coverage now checks
and validates both default plain mode and explicit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
pic_loggeralways prepended severity labels (INFO:,VERBOSE:, etc.), which made all logs explicitly tagged with level text. This change makes plain message formatting the default and adds an opt-in switch for explicit level-prefixed output.Logger behavior change (default path)
New public API
logger_type%set_explicit_printing(logical)to control output style at runtime.set_explicit_printing(.true.)enablesLEVEL: ...formatting.set_explicit_printing(.false.)(or default behavior) emits plain message format.Formatting pipeline update
Coverage updates