Skip to content

Commit b746800

Browse files
committed
futurize: add a logger object (issue #102)
1 parent 9b0cff3 commit b746800

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libfuturize/main.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ def main(args=None):
173173
# Set up logging handler
174174
level = logging.DEBUG if options.verbose else logging.INFO
175175
logging.basicConfig(format='%(name)s: %(message)s', level=level)
176+
logger = logging.getLogger('libfuturize.main')
176177

177178
if options.stage1 or options.stage2:
178179
assert options.both_stages is None

0 commit comments

Comments
 (0)