Пример #1
0
        /// <summary>
        /// Initializes the <see cref="SharedData"/> class.
        /// </summary>
        static SharedData()
        {
            LoggingSystems = new List <ILoggingSystem>();

#if !REF_BMC_COMMON
            GlobalLogger = new BMCLogger(LoggingSystems);
#else
            GlobalLogger = new BMCCommonLogger(LoggingSystems);
#endif

            _loggers = new List <ILogger>();
            _loggers.Add(GlobalLogger);

#if !REF_BMC_COMMON
            InitAppFileLoggingSystem();
#endif
        }
Пример #2
0
        /// <summary>
        /// Initializes the <see cref="SharedData"/> class.
        /// </summary>
        static SharedData()
        {
            LoggingSystems = new List<ILoggingSystem>();

#if !REF_BMC_COMMON
            GlobalLogger = new BMCLogger(LoggingSystems);
#else
            GlobalLogger = new BMCCommonLogger(LoggingSystems);
#endif

            _loggers = new List<ILogger>();
            _loggers.Add(GlobalLogger);

#if !REF_BMC_COMMON
            InitAppFileLoggingSystem();
#endif
        }