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