Example #1
0
 private void _logException(Level level, string message, object[] args, Exception exception) // sends logs to log-router.
 {
     LogRouter.RouteException(level, this.Name, args == null ? message : string.Format(CultureInfo.InvariantCulture, message, args), exception);
 }
Example #2
0
 private void _log(Level level, string message, object[] args) // sends logs to log-router.
 {
     LogRouter.RouteMessage(level, this.Name, args == null ? message : string.Format(CultureInfo.InvariantCulture, message, args));
 }