Class: LoggerController

moralis-monorepo / @moralisweb3/core / LoggerController

Class: LoggerController

@moralisweb3/core.LoggerController

LoggerController, responsible to create log messages for each module.
It should be created with the name of the module like new Logger('module-name')
It will then prefix any logs with that module-name for easy debugging
It will show only logs up to the specified logLevel in the MoralisConfig


Did this page help you?