summaryrefslogtreecommitdiffstats
path: root/Lib/logging
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2008-02-16 01:22:54 (GMT)
committerRaymond Hettinger <python@rcn.com>2008-02-16 01:22:54 (GMT)
commit71fa93af224a221ae3c4d951a587a99d795d3a9d (patch)
tree7038200e49b598dc6a617001f107495d0ac4298f /Lib/logging
parent64d684378847f431e8b87a3af00c4d675b5caeb4 (diff)
downloadcpython-71fa93af224a221ae3c4d951a587a99d795d3a9d.zip
cpython-71fa93af224a221ae3c4d951a587a99d795d3a9d.tar.gz
cpython-71fa93af224a221ae3c4d951a587a99d795d3a9d.tar.bz2
Add __all__ to logging module.
Diffstat (limited to 'Lib/logging')
-rw-r--r--Lib/logging/__init__.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/logging/__init__.py b/Lib/logging/__init__.py
index 157ce74..2c84a6a 100644
--- a/Lib/logging/__init__.py
+++ b/Lib/logging/__init__.py
@@ -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: