-
-
Notifications
You must be signed in to change notification settings - Fork 213
Closed
Labels
Layer: ConfigurationItems related to the custom hierarchy setting LoggerSettings__c or any included custom metadata typeItems related to the custom hierarchy setting LoggerSettings__c or any included custom metadata typeLayer: Logger EngineItems related to the core logging engineItems related to the core logging engineLogging Source: Lightning ComponentsItems related to using Nebula Logger using JavaScript within lightning components (lwc & aura)Items related to using Nebula Logger using JavaScript within lightning components (lwc & aura)Type: BugSomething isn't workingSomething isn't working
Milestone
Description
Hello, I want to use NebulaLogger for errors in public site, but I don't want initialization and error messages in browser's console.
On c/logger/loggerService.js file I can see functions to disable messages:
let areSystemMessagesEnabled = true;
export function enableSystemMessages() {
areSystemMessagesEnabled = true;
}
export function disableSystemMessages() {
areSystemMessagesEnabled = false;
}But i'm not sure how to use these as I can only import c/logger and not c/logger/loggerService.js. Is it possible to provide it as a setting when initializing logger in LWC?
Metadata
Metadata
Assignees
Labels
Layer: ConfigurationItems related to the custom hierarchy setting LoggerSettings__c or any included custom metadata typeItems related to the custom hierarchy setting LoggerSettings__c or any included custom metadata typeLayer: Logger EngineItems related to the core logging engineItems related to the core logging engineLogging Source: Lightning ComponentsItems related to using Nebula Logger using JavaScript within lightning components (lwc & aura)Items related to using Nebula Logger using JavaScript within lightning components (lwc & aura)Type: BugSomething isn't workingSomething isn't working