Issue Details (XML | Word | Printable)

Key: LOG4NET-49
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Nicko Cadell
Reporter: Nicko Cadell
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Log4net

CountingQuietTextWriter does not count strings written with WriteLine

Created: 31/Aug/05 04:59 PM   Updated: 31/Aug/05 05:19 PM
Return to search
Component/s: Core
Affects Version/s: 1.2.9
Fix Version/s: 1.2.10

Time Tracking:
Not Specified

Resolution Date: 31/Aug/05 05:19 PM


 Description  « Hide
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.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Repository Revision Date User Message
ASF #312322 Wed Aug 31 08:14:10 UTC 2005 nicko Fix for LOG4NET-49, Added missing overrides to CountingQuietTextWriter
Files Changed
MODIFY /logging/log4net/trunk/src/Util/CountingQuietTextWriter.cs