You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-cvs@jakarta.apache.org by pa...@apache.org on 2001/03/10 13:58:01 UTC
cvs commit: jakarta-log4j/org/apache/log4j WriterAppender.java
pathos 01/03/10 04:58:01
Modified: org/apache/log4j WriterAppender.java
Log:
Documentation changes.
Revision Changes Path
1.7 +6 -6 jakarta-log4j/org/apache/log4j/WriterAppender.java
Index: WriterAppender.java
===================================================================
RCS file: /home/cvs/jakarta-log4j/org/apache/log4j/WriterAppender.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- WriterAppender.java 2001/02/22 13:53:14 1.6
+++ WriterAppender.java 2001/03/10 12:58:00 1.7
@@ -106,10 +106,10 @@
/**
- This method called by {@link AppenderSkeleton#doAppend}
+ This method is called by the {@link AppenderSkeleton#doAppend}
method.
- <p>If the output stream exists an is writable then write a log
+ <p>If the output stream exists and is writable then write a log
statement to the output stream. Otherwise, write a single warning
message to <code>System.err</code>.
@@ -206,7 +206,7 @@
/**
- Retuns the option names for this component.
+ Returns the option names for this component.
*/
public
String[] getOptionStrings() {
@@ -218,7 +218,7 @@
/**
Set the {@link ErrorHandler} for this FileAppender and also the
- undelying {@link QuietWriter} if any. */
+ underlying {@link QuietWriter} if any. */
public
synchronized
void setErrorHandler(ErrorHandler eh) {
@@ -244,7 +244,7 @@
<p>Avoiding the flush operation at the end of each append results in
a performance gain of 10 to 20 percent. However, there is safety
- tradeoff invloved in skipping flushing. Indeed, when flushing is
+ tradeoff involved in skipping flushing. Indeed, when flushing is
skipped, then it is likely that the last few log events will not
be recorded on disk when the application exits. This is a high
price to pay even for a 20% performance gain.
@@ -326,7 +326,7 @@
}
/**
- Clerar internal references to the writer and other variables.
+ Clear internal references to the writer and other variables.
Sub-classes can override this method for an alternate closing
behaviour. */
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-cvs-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-cvs-help@jakarta.apache.org