-
Notifications
You must be signed in to change notification settings - Fork 165
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RNET-1161: Implement support for using a log level for a specific log…
… category (#3634) * Implement 'LogCategory' classes. * Update Core wrapper for setting log level. * Update 'SharedRealmHandle' for logging and setting log level and category. * Update 'Logger' classes to account for category. * Replace static '_logLevel' member with call into Core. * Update signature in 'UnityLogger'. * Replace use of 'LeafLogCategory' with the base. * Remove 'LogCategory' getter. * Update todo comments. * Add first tests. * Log with SDK category if not provided. * Pass parent category to create name. * Marshal log category names from Core. * Test matching Core category names. * Add API docs. * Add more tests. * Show category hierarchy in API docs. * Add CHANGELOG entry. * Change arg. order to not break 'LogImpl()' API. * Deprecate old APIs. * Update CHANGELOG. * Point to updated Core. * Change marshaled vector from heap-allocated to global. * Update 'shared_realm_get_log_level'. * Update usage of now-deprecated APIs. * Update API doc. * Use braced initializer when returning marshaled vector. * Try to fix Windows marshaling. * Make marshallable struct unnested. * Make marshalable nested. * Fix Windows marshaling once and for all. * Fix Windows marshaling twice and for all * Deprecate 'Logger' and use its base class. * Check log level for 'Realm.SDK' in 'SyncSocketProvider'. * Move marshalling from 'MarshaledVector' onto 'TypeErasedMarshaledVector'. * Minor update to API docs. * Update 'cref's to resolve doc links. * Add a log API for Core-only messages to avoid checking level. * Make arg order in wrapper consistent. * Call non-level-check log impl from 'Log()'. * Rename 'CoreLog' to 'LogAnyLevel' to suit current call pattern. * Remove internal 'LogDefault()'. * Update CHANGELOG. --------- Co-authored-by: nirinchev <[email protected]>
- Loading branch information
Showing
27 changed files
with
732 additions
and
169 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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 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 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 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.