#NEWLINE# def loggers( ) : #NEWLINE# #INDENT# ' get list of all loggers ' #NEWLINE# root = logging . root #NEWLINE# existing = root . manager . loggerDict . keys ( ) #NEWLINE# return [ logging . getLogger ( name ) for name in existing ]