Log4net
  1. Log4net
  2. LOG4NET-72

Performance of ILog.xxxFormat methods

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.10
    • Component/s: None
    • Labels:
      None

      Description

      The performance of the ILog.xxxFormat methods can be improved.

      1) Add method overloads for common numbers of arguments:

      void DebugFormat(string format, object arg0);
      void DebugFormat(string format, object arg0, object arg1);
      void DebugFormat(string format, object arg0, object arg1, object arg2);

      2) Delay formatting of the message until after the appenders filters have run.

        Activity

          People

          • Assignee:
            Nicko Cadell
            Reporter:
            Nicko Cadell
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development