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

CountingQuietTextWriter does not count strings written with WriteLine

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.2.9
    • Fix Version/s: 1.2.10
    • Component/s: Core
    • Labels:
      None

      Description

      The CountingQuietTextWriter overrides Write(String) to count the chars written. However it should also override Write(Char) and Write(Char[],int,int).

      WriteLine(String) calls Write(Char[],int,int) and therefore the CountingQuietTextWriter is not counting these strings, which are written to the output writer.

        Activity

        Hide
        nicko Nicko Cadell added a comment -

        Added missing overrides

        Show
        nicko Nicko Cadell added a comment - Added missing overrides

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development