Add setLogLevel as an export.
This commit is contained in:
+6
-3
@@ -170,6 +170,9 @@ def makeListCompatible( fn ):
|
|||||||
setattr( newfn, '__doc__', fn.__doc__ )
|
setattr( newfn, '__doc__', fn.__doc__ )
|
||||||
return newfn
|
return newfn
|
||||||
|
|
||||||
info, output, warn, error, debug = lg.info, lg.output, lg.warn, lg.error, \
|
info, output, warn, error, debug = (
|
||||||
lg.debug = [ makeListCompatible( f ) for f in lg.info, lg.output, lg.warn,
|
lg.info, lg.output, lg.warn, lg.error, lg.debug ) = [
|
||||||
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