Example #1
0
        public override IEnumerable <ILoggerProvider> CreateLoggerProviders(string hostInstanceId, ScriptHostConfiguration scriptConfig, ScriptSettingsManager settingsManager, Func <bool> isFileLoggingEnabled, Func <bool> isPrimary)
        {
            ILoggerProvider systemProvider = new SystemLoggerProvider(hostInstanceId, _eventGenerator, _settingsManager);

            return(base.CreateLoggerProviders(hostInstanceId, scriptConfig, settingsManager, isFileLoggingEnabled, isPrimary).Append(systemProvider));
        }