Esempio n. 1
0
 /// <summary>
 /// 初始化一个<see cref="ExceptionlessProvider"/>类型的实例
 /// </summary>
 /// <param name="logName">日志名称</param>
 public ExceptionlessProvider(string logName)
 {
     LogName        = logName;
     IsDebugEnabled = BingConfig.Current.EnabledDebug;
     IsTraceEnabled = BingConfig.Current.EnabledTrace;
     _client        = el.ExceptionlessClient.Default;
 }
Esempio n. 2
0
 /// <summary>
 /// 初始化一个<see cref="ExceptionlessProvider"/>类型的实例
 /// </summary>
 /// <param name="logName">日志名称</param>
 public ExceptionlessProvider(string logName)
 {
     LogName        = logName;
     IsDebugEnabled = ConfigManager.Config.Logger.EnabledDebug;
     IsTraceEnabled = ConfigManager.Config.Logger.EnabledTrace;
     _client        = el.ExceptionlessClient.Default;
 }