-
-
Notifications
You must be signed in to change notification settings - Fork 171
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Updated logger lwc to provide the ability to import the new function createLogger(), which returns an instance of LoggerService. This provides support for logging in lifecycle events that don't work with the previously-used markup approach. * Refactored now-deprecated @api methods in logger.js to internally use an instance of LoggerService to reduce code duplication * Added improved formatting of console message in logEntryBuilder.js * Added version number and console statement to logger.js * Added all lifecycle events & logging in loggerLWCDemo.js * Added new recipes LWC loggerLWCLegacyDemo to show how the now-deprecated (but still supported) markup-based approach can be used for logging in lightning components --------- Co-authored-by: Jonathan Gillespie <jonathan.c.gillespie@gmail.com>
- Loading branch information
1 parent
d090f6a
commit 695887d
Showing
20 changed files
with
1,296 additions
and
387 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
Oops, something went wrong.