/// <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 }
/// <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 }