@@ -0,0 +1,438 @@
+#!/usr/bin/env python%0A# coding: utf-8%0A%0Aimport logging%0A%0A# level%0A# %E5%A4%A7%E4%BA%8E%E6%8C%87%E5%AE%9A%E7%BA%A7%E5%88%AB%E7%9A%84%E6%97%A5%E5%BF%97%E5%B0%86%E8%A2%AB%E8%BE%93%E5%87%BA%0A# CRITICAL 50%0A# ERROR    40%0A# WARNING  30%0A# INFO     20%0A# DEBUG    10%0A# NOTSET   0%0A%0A#logging.warning('Watch out!');%0A#logging.info('I told you so');%0A%0A# Logging to a file%0Alogging.basicConfig(filename='test-logging.log', level=logging.DEBUG)%0Alogging.debug('This message should go to the log file')%0Alogging.info('So should this')%0Alogging.warning('And this, too')%0A

Add test-logging.py