#NEWLINE# def __init__( self , cntlr ) : #NEWLINE# #INDENT# super ( WinMainLogHandler , self ) . __init__ ( ) #NEWLINE# self . cntlr = cntlr #NEWLINE# formatter = Cntlr . LogFormatter ( '[%(messageCode)s] %(message)s - %(file)s' ) #NEWLINE# self . setFormatter ( self )