Issue #5854: Updated __all__ to include some missing names and remove some names which should not be exported.
This commit is contained in:
parent
536120e34d
commit
229bc0119a
|
@ -24,9 +24,12 @@ 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']
|
||||
'FATAL', 'FileHandler', 'Filter', 'Formatter', 'Handler', 'INFO',
|
||||
'LogRecord', 'Logger', 'LoggerAdapter', 'NOTSET', 'NullHandler',
|
||||
'StreamHandler', 'WARN', 'WARNING', 'addLevelName', 'basicConfig',
|
||||
'captureWarnings', 'critical', 'debug', 'disable', 'error',
|
||||
'exception', 'fatal', 'getLevelName', 'getLogger', 'getLoggerClass',
|
||||
'info', 'log', 'makeLogRecord', 'setLoggerClass', 'warn', 'warning']
|
||||
|
||||
import sys, os, types, time, string, cStringIO, traceback
|
||||
|
||||
|
|
Loading…
Reference in New Issue