Add setLogLevel as an export.

This commit is contained in:
Bob Lantz
2010-03-24 16:58:27 -07:00
parent 22f807fc6f
commit 6e4e79afc3
+6 -3
View File
@@ -170,6 +170,9 @@ def makeListCompatible( fn ):
setattr( newfn, '__doc__', fn.__doc__ )
return newfn
info, output, warn, error, debug = lg.info, lg.output, lg.warn, lg.error, \
lg.debug = [ makeListCompatible( f ) for f in lg.info, lg.output, lg.warn,
lg.error, lg.debug ]
info, output, warn, error, debug = (
lg.info, lg.output, lg.warn, lg.error, lg.debug ) = [
makeListCompatible( f ) for f in
lg.info, lg.output, lg.warn, lg.error, lg.debug ]
setLogLevel = lg.setLogLevel