-
Notifications
You must be signed in to change notification settings - Fork 573
feat(core-interfaces): Add info and essential log levels to LogLevel #26947
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
MarioJGMsoft
merged 24 commits into
microsoft:main
from
MarioJGMsoft:marioja/LogLevelBaseUpdate
Apr 10, 2026
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
39098a7
feat: added new info and essential values to LogLevel
MarioJGMsoft 6b94dcf
Merge remote-tracking branch 'origin/main' into marioja/LogLevelBaseU…
MarioJGMsoft ece7c02
feat: updated api.md's
MarioJGMsoft 23ebb02
docs: fixed unnecesarry comment
MarioJGMsoft d94c06f
Merge branch 'main' into marioja/LogLevelBaseUpdate
MarioJGMsoft cc3386f
feat: added new logLevel values
MarioJGMsoft 01f622e
fix: fixed failing build
MarioJGMsoft 118fd64
fix: removed unnecessary call to LogLevel
MarioJGMsoft 836a899
docs: reverted default comment
MarioJGMsoft c52caa9
Merge branch 'main' into marioja/LogLevelBaseUpdate
MarioJGMsoft 404e8dd
fix: change minLogLevel from essential to info for compat reasons
MarioJGMsoft 59d4bb7
fix: updated default to .info for compatibility purposes
MarioJGMsoft 7324872
test: updated test
MarioJGMsoft 13d82d6
Merge branch 'main' into marioja/LogLevelBaseUpdate
MarioJGMsoft 48d6b82
feat: turned PR into naming only PR
MarioJGMsoft 9d79c1e
docs: updated comments based on feedback
MarioJGMsoft d2fafda
Merge branch 'main' into marioja/LogLevelBaseUpdate
MarioJGMsoft e53642d
Merge branch 'main' into marioja/LogLevelBaseUpdate
MarioJGMsoft 43b1680
feat: updated comments, changeset and LogLevel.default call places
MarioJGMsoft 4aa890f
feat: removed logLevel from new places and added changeset
MarioJGMsoft 06d316c
docs: updated comments
MarioJGMsoft aa5af96
docs: updated comments for future plans
MarioJGMsoft ca62e2a
docs: updated comments
MarioJGMsoft c6ae5e7
docs: updated comments
MarioJGMsoft File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| --- | ||
| "@fluidframework/core-interfaces": minor | ||
| "@fluidframework/telemetry-utils": minor | ||
| "__section": deprecation | ||
| --- | ||
| Deprecated default and error in LogLevel | ||
|
|
||
| Two new `LogLevel` members have been added to `@fluidframework/core-interfaces` to better express intent: | ||
|
|
||
| - `LogLevel.info` — replaces `LogLevel.default` (same numeric value). Use this for informational session logs that could be omitted at high telemetry volumes. | ||
|
Check failure on line 10 in .changeset/tender-poems-float.md
|
||
| - `LogLevel.essential` — replaces `LogLevel.error` (same numeric value). Use this for critical operational events that should always be collected. | ||
|
Check failure on line 11 in .changeset/tender-poems-float.md
|
||
|
|
||
| `LogLevel.default` and `LogLevel.error` are now `@deprecated` and will be removed in a future release (see [issue #26969](https://github.com/microsoft/FluidFramework/issues/26969) for the removal timeline). | ||
|
|
||
| If an event does not have a log level specified, it should be treated as if it were `LogLevel.essential`. | ||
|
|
||
| **Migration:** | ||
|
|
||
| | Deprecated | Replacement | | ||
| |---|---| | ||
| | `LogLevel.default` | `LogLevel.info` | | ||
| | `LogLevel.error` | `LogLevel.essential` | | ||
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
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
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this change necessary? What's the intent?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was something that was brought up in the previous PR, where Jason pointed out that this change could be done: Original comment. I'll make it's own PR for it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, this change needs to go in this PR because it's using LogLevel.default