metamask-extension icon indicating copy to clipboard operation
metamask-extension copied to clipboard

Initialize the logging controller in the extension

Open brad-decker opened this issue 1 year ago • 0 comments

Description

The Logging controller, once merged into the core monorepo, will provide the ability for engineers to add log points throughout the application for highly valuable information for customer support, metamask engineers, and end users. However, before it can be utilized, it must be initialized in the metamask-controller within the extension. By initializing the controller, even if we do not use it anywhere, we make all controllers that extend the BaseControllerV2 able to eventually use the messaging system to invoke log points in their own code.

Steps:

  1. Import new @metamask/logging-controller package in extension
  2. Initialize the controller passing it a restricted message manager prop
  3. profit.

brad-decker avatar Jun 01 '23 19:06 brad-decker