OPTIONAL the default log level as integer or string, DEFAULT: "debug"
OPTIONAL list of modules for per log level (unspecified modules will have default log level)
list of modules for the LogLevel NOTE: the field name must be a valid LogLevel (e.g. "warn"), otherwise it will be ignored
OPTIONAL log level per module (unspecified modules will have default log level)
log level for the module NOTE: the field name needs to correspond to the module ID
Generated using TypeDoc
Module configuration for the LoggerModule
var loggerModuleConfig = { level: 'info', levels: { warn: ['mmirf/mediaManager', 'mmirf/inputEngine'] }, modules: { 'mmirf/dialogEngine': 'critical' } }; // set to global
mmir
before initialingmmir
: mmir.logLevel = loggerModuleConfig;// or use as mmir application configuration with mmir-tooling configuration: var mmirAppConfig = { config: { 'mmirf/logger': { logLevel: loggerModuleConfig } } }; //... require('mmir-webpack')(webpack, webpackConfig, mmirAppConfig);