Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RollbarPlugInCore"/> class.
 /// </summary>
 /// <param name="rollbarConfig">The rollbar configuration.</param>
 /// <param name="rollbarBlockingTimeout">The rollbar blocking timeout.</param>
 /// <param name="rollbarTarget">The rollbar target.</param>
 public RollbarPlugInCore(
     IRollbarConfig rollbarConfig,
     TimeSpan?rollbarBlockingTimeout,
     RollbarTarget rollbarTarget
     )
     : base(rollbarErrorLevelByPlugInErrorLevel, customPrefix, rollbarConfig, rollbarBlockingTimeout)
 {
     this._rollbarTarget = rollbarTarget;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RollbarPlugInCore"/> class.
 /// </summary>
 /// <param name="rollbarAccessToken">The rollbar access token.</param>
 /// <param name="rollbarEnvironment">The rollbar environment.</param>
 /// <param name="rollbarBlockingLoggingTimeout">The rollbar blocking logging timeout.</param>
 /// <param name="rollbarTarget">The rollbar target.</param>
 public RollbarPlugInCore(
     string rollbarAccessToken,
     string rollbarEnvironment,
     TimeSpan?rollbarBlockingLoggingTimeout,
     RollbarTarget rollbarTarget
     )
     : this(
         CreateConfig(rollbarAccessToken : rollbarAccessToken, rollbarEnvironment : rollbarEnvironment),
         rollbarBlockingLoggingTimeout,
         rollbarTarget
         )
 {
 }