lib/Core.class.js
/**
     * Loads the registered Configurators and applies the configs to all plugins and loggers.
     */
Loads the registered Configurators and applies the configs to all plugins and loggers.
Loads the registered Configurators and applies the configs to all plugins and loggers .
initialize() {
        let config = {
            appenders: {},
            processors: {},
            configurators: {}
        };
        for (let type in Plugins.registered.configurators) {
            let configurator = this.configureConfigurator(type, config);
            configurator.scan(config, updatedConfig => {
                config = updatedConfig;
                this.configure(updatedConfig);
            });
            Plugins.on('config', config => configurator.onChange(config, this.configure));
        }
    }
initialize ( ) { let config = { appenders : { } , processors : { } , configurators : { } } ; for ( let type in Plugins . registered . configurators ) { let configurator = this . configureConfigurator ( type , config ) ; configurator . scan ( config , updatedConfig => { config = updatedConfig ; this . configure ( updatedConfig ) ; } ) ; Plugins . on ( 'config' , config => configurator . onChange ( config , this . configure ) ) ; } }
Loads the registered Configurators and applies the configs to all plugins and loggers.
Loads the registered Configurators and applies the configs to all plugins and loggers .
// TODO The loading order needs to be determined so that 'Default' will be loaded last and 'Arguments' first.