Package Products :: Package ZenUtils :: Module configlog :: Class ZenFileHandler |
[hide private]
[frames] | no frames]

# Class ZenFileHandler

source code

          object --+
                   |
    logging.Filterer --+
                       |
         logging.Handler --+
                           |
       logging.StreamHandler --+
                               |
             logging.FileHandler --+
                                   |
                                  ZenFileHandler

Like python's FileHandler but relative to ZENHOME/log/

Instance Methods | [hide private]
__init__(self, filename, mode='a', encoding=None, delay=0) Open the specified file and use it as the stream for logging. | source code
Inherited from `logging.FileHandler`: `close`, `emit` Inherited from `logging.FileHandler` (private): `_open` Inherited from `logging.StreamHandler`: `flush` Inherited from `logging.Handler`: `acquire`, `createLock`, `format`, `get_name`, `handle`, `handleError`, `release`, `setFormatter`, `setLevel`, `set_name` Inherited from `logging.Filterer`: `addFilter`, `filter`, `removeFilter`

Class Variables | [hide private]
Inherited from `logging.Handler`: `name`

Method Details | [hide private]

### __init__(self, filename, mode='a', encoding=None, delay=0) (Constructor) | source code
Open the specified file and use it as the stream for logging. Overrides: logging.Filterer.__init__ (inherited documentation)