Creates a logger via the debug library which is derived from the logger for
the whole project whose log messages will be tagged using the name of your
module. By default, such messages will be suppressed, but you can reveal them
by setting the DEBUG environment variable to
metamask:<projectName>:<moduleName>. You can also set this variable to
metamask:<projectName>:* if you want to see log messages from the project,
or metamask:* if you want to see log messages from all MetaMask projects.
Creates a logger via the
debug
library which is derived from the logger for the whole project whose log messages will be tagged using the name of your module. By default, such messages will be suppressed, but you can reveal them by setting theDEBUG
environment variable tometamask:<projectName>:<moduleName>
. You can also set this variable tometamask:<projectName>:*
if you want to see log messages from the project, ormetamask:*
if you want to see log messages from all MetaMask projects.Returns
An instance of
debug
.