Beispiel #1
0
 /// <summary>
 /// Class constructor.
 /// </summary>
 static PSSysLogProvider()
 {
     s_provider = new SysLogProvider(PowerShellConfig.Instance.GetSysLogIdentity(),
                                     PowerShellConfig.Instance.GetLogLevel(),
                                     PowerShellConfig.Instance.GetLogKeywords(),
                                     PowerShellConfig.Instance.GetLogChannels());
 }
 /// <summary>
 /// Class constructor.
 /// </summary>
 static PSSysLogProvider()
 {
     s_provider = new SysLogProvider(ConfigPropertyAccessor.Instance.GetSysLogIdentity(),
                                     ConfigPropertyAccessor.Instance.GetLogLevel(),
                                     ConfigPropertyAccessor.Instance.GetLogKeywords(),
                                     ConfigPropertyAccessor.Instance.GetLogChannels());
 }