/// <summary>
 /// 写入一个debug等级的日志记录.
 /// </summary>
 /// <param name="logger">日志记录器.</param>
 /// <param name="exception">要记录的异常.</param>
 /// <param name="format">待格式化的消息字符串.</param>
 /// <param name="args">格式化参数列表.</param>
 public static void Debug(this IApplicationLogger logger, Exception exception, String format, params Object[] args)
 {
     logger.Debug(exception, String.Format(format, args));
 }