]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Patch #1061924: add documentation for BaseRotatingHandler and correct
authorJohannes Gijsbers <jlg@dds.nl>
Sun, 7 Nov 2004 16:11:35 +0000 (16:11 +0000)
committerJohannes Gijsbers <jlg@dds.nl>
Sun, 7 Nov 2004 16:11:35 +0000 (16:11 +0000)
reference to non-existent function 'setRollover()'.

Doc/lib/liblogging.tex

index 4725d58e32ad8a5a56e8c4ea5e59b23a2920d5b8..869b5c17a6b94d9b2be195f64be481ab9ccaf5f3 100644 (file)
@@ -77,6 +77,10 @@ streams (file-like objects).
 \item \class{FileHandler} instances send error messages to disk
 files.
 
+\item \class{BaseRotatingHandler} is tha base class for handlers that
+rotate log files at a certain point. It is not meant to be  instantiated
+directly. Instead, use RotatingFileHandler or TimedRotatingFileHandler.
+
 \item \class{RotatingFileHandler} instances send error messages to disk
 files, with support for maximum log file sizes and log file rotation.
 
@@ -890,8 +894,7 @@ Does a rollover, as described above.
 \end{methoddesc}
 
 \begin{methoddesc}{emit}{record}
-Outputs the record to the file, catering for rollover as described
-in \method{setRollover()}.
+Outputs the record to the file, catering for rollover as described previously.
 \end{methoddesc}
 
 \subsubsection{TimedRotatingFileHandler}