示例#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);
 }
示例#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));
 }