API Reference for Enthought Tool Suite 3.2.0
Convenience functions for creating logging handlers etc.
The default formatter.
FORMATTER = logging.Formatter('%(levelname)s|%(asctime)s|%(message)s')
The default logging level.
LEVEL = logging.DEBUG
Adds a queueing log handler to a logger.
Creates a log file handler.
This is just a convenience function to make it easy to create the same kind of handlers across applications.
It sets the handler's formatter to the default formatter, and its logging level to the default logging level.
| Local name | Refers to |
|---|---|
| deprecated | enthought.util.deprecated.deprecated |
| logging | logging |
| LogQueueHandler | enthought.logger.log_queue_handler.LogQueueHandler |
| RotatingFileHandler | logging.handlers.RotatingFileHandler |
© Copyright 2002-2009 Enthought, Inc.