Stores logs in state meant to assist debugging user issues. Logs stored in this fashion can only be retrieved via the state log download feature exposed by the clients, and thus must be initiated by the user.
yarn add @metamask/logging-controller
or
npm install @metamask/logging-controller
This package is part of a monorepo. Instructions for contributing can be found in the monorepo README.