Package rrlog :: Package server :: Module filewriter :: Class FileLogWriter
[hide private]
[frames] | no frames]

Class FileLogWriter

source code

                  object --+    
                           |    
textwriter.TextlineLogWriter --+
                               |
                              FileLogWriter
Known Subclasses:

Instance Methods [hide private]
 
__init__(self, config, format_line=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
_createFile(self) source code
 
writeNow(self, job)
Write without buffering, return when written.
source code

Inherited from textwriter.TextlineLogWriter: cfn_cln, estimateLineCount

Inherited from textwriter.TextlineLogWriter (private): _format_line

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, config, format_line=None)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Parameters:
  • config - FileConfig
Overrides: object.__init__

writeNow(self, job)

source code 

Write without buffering, return when written. Flushes the file after each write.