Esempio n. 1
0
 public LoggerImpl(NLog.Logger logger, Rollbar.IRollbar rollbar)
 {
     this.nlog    = logger ?? throw new ArgumentNullException("The NLog cannot be null.");
     this.rollbar = rollbar ?? throw new ArgumentNullException("The Rollbar cannot be null.");
 }
Esempio n. 2
0
 public LoggerImpl(NLog.Logger logger)
 {
     this.nlog    = logger ?? throw new ArgumentNullException("The NLog cannot be null.");
     this.rollbar = Rollbar.RollbarLocator.RollbarInstance;
 }
Esempio n. 3
0
 public LoggerImpl()
 {
     this.nlog    = NLog.LogManager.GetCurrentClassLogger();
     this.rollbar = Rollbar.RollbarLocator.RollbarInstance;
 }
Esempio n. 4
0
 public LoggerImpl(Rollbar.IRollbar rollbar)
 {
     this.nlog    = NLog.LogManager.GetCurrentClassLogger();
     this.rollbar = rollbar ?? throw new ArgumentNullException("The Rollbar cannot be null.");
 }