What does logging.basicConfig do?
I have seen this in a开发者_高级运维 lot of python code what does this do? What is it useful for?
logging.basicConfig(level=loglevel, format=myname)
Please read the documentation - it explains your question in detail: http://docs.python.org/library/logging.html#logging.basicConfig "baseConfig"
精彩评论