Add setLogLevel as an export.
This commit is contained in:
1 parent
22f807fc6f
commit
6e4e79afc3
1 file changed
+6
-3
+6
-3
@@ -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
|
||||
Reference in new issue
Block a user