Add setLogLevel as an export.
This commit is contained in:
+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