コード例 #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
        }