Add __all__ to logging module.

This commit is contained in:
Raymond Hettinger 2008-02-16 01:22:54 +00:00
parent 64d6843788
commit 71fa93af22
1 changed files with 5 additions and 0 deletions

View File

@ -26,6 +26,11 @@ Copyright (C) 2001-2008 Vinay Sajip. All Rights Reserved.
To use, simply 'import logging' and log away!
"""
__all__ = ['BASIC_FORMAT', 'BufferingFormatter', 'CRITICAL', 'DEBUG', 'ERROR',
'FATAL', 'FileHandler', 'Filter', 'Filterer', 'Formatter', 'Handler',
'INFO', 'LogRecord', 'Logger', 'Manager', 'NOTSET', 'PlaceHolder',
'RootLogger', 'StreamHandler', 'WARN', 'WARNING']
import sys, os, types, time, string, cStringIO, traceback
try: