focus on Python , C++, and some interest in Go and R
获得当前所有logger的列表的程序如下:
import logging for name in logging.Logger.manager.loggerDict.keys(): logger = logging.getLogger(name) print 'name = %s, logger = %s'%(name, logger)