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

CountingQuietTextWriter does not count strings written with WriteLine

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.2.9
    • 1.2.10
    • Core
    • 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.

      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: