You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-dev@logging.apache.org by "Nicko Cadell (JIRA)" <ji...@apache.org> on 2005/08/31 10:01:17 UTC
[jira] Created: (LOG4NET-49) CountingQuietTextWriter does not count strings written with WriteLine
CountingQuietTextWriter does not count strings written with WriteLine
---------------------------------------------------------------------
Key: LOG4NET-49
URL: http://issues.apache.org/jira/browse/LOG4NET-49
Project: Log4net
Type: Bug
Components: Core
Versions: 1.2.9
Reporter: Nicko Cadell
Assigned to: Nicko Cadell
Priority: Minor
Fix For: 1.2.10
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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Resolved: (LOG4NET-49) CountingQuietTextWriter does not count strings written with WriteLine
Posted by "Nicko Cadell (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/LOG4NET-49?page=all ]
Nicko Cadell resolved LOG4NET-49:
---------------------------------
Resolution: Fixed
Added missing overrides
> CountingQuietTextWriter does not count strings written with WriteLine
> ---------------------------------------------------------------------
>
> Key: LOG4NET-49
> URL: http://issues.apache.org/jira/browse/LOG4NET-49
> Project: Log4net
> Type: Bug
> Components: Core
> Versions: 1.2.9
> Reporter: Nicko Cadell
> Assignee: Nicko Cadell
> Priority: Minor
> Fix For: 1.2.10
>
> 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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira