summaryrefslogtreecommitdiffstats
path: root/Lib/logging/__init__.py
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2009-04-27 13:55:05 (GMT)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2009-04-27 13:55:05 (GMT)
commitad5fa2fbd08ee221002f41fd6a9c41362396cb6d (patch)
treef349759f870283d1cc3ee78b29b5e14420a9a336 /Lib/logging/__init__.py
parent8654ce12703c6596086a20fe946014f2fd7b2b78 (diff)
downloadcpython-ad5fa2fbd08ee221002f41fd6a9c41362396cb6d.zip
cpython-ad5fa2fbd08ee221002f41fd6a9c41362396cb6d.tar.gz
cpython-ad5fa2fbd08ee221002f41fd6a9c41362396cb6d.tar.bz2
Issue #5854: Updated __all__ to include some missing names and remove some names which should not be exported.
Diffstat (limited to 'Lib/logging/__init__.py')
-rw-r--r--Lib/logging/__init__.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/Lib/logging/__init__.py b/Lib/logging/__init__.py
index e294880..c95cea0 100644
--- a/Lib/logging/__init__.py
+++ b/Lib/logging/__init__.py
@@ -26,9 +26,12 @@ To use, simply 'import logging' and log away!
import sys, os, time, io, traceback, warnings
__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']
try:
import codecs