Uploaded image for project: 'Log4net'
  1. Log4net
  2. LOG4NET-72

Performance of ILog.xxxFormat methods

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.2.10
    • None
    • 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.

      Attachments

        Activity

          People

            nicko Nicko Cadell
            nicko Nicko Cadell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: