#NEWLINE# def watch( self , level = logging . INFO , out = stdout ) : #NEWLINE# #INDENT# self . stop ( ) #NEWLINE# handler = logging . StreamHandler ( out ) #NEWLINE# handler . setFormatter ( self . formatter ) #NEWLINE# self . handlers [ self . logger_name ] = handler #NEWLINE# self . logger . addHandler ( handler ) #NEWLINE# self . logger . setLevel ( level )