Start adding logging for --verbose

This commit is contained in:
Ian Cordasco 2016-01-04 19:34:10 -06:00
parent f539464368
commit a6d790cc10
2 changed files with 23 additions and 0 deletions

View file

@ -1 +1,12 @@
import logging
try:
from logging import NullHandler
except ImportError:
class NullHandler(logging.Handler):
def emit(self, record):
pass
logging.getLogger(__name__).addHandler(NullHandler())
__version__ = '3.0.0a1'

View file

@ -1,4 +1,16 @@
import logging
import optparse
import os.path
import sys
if sys.version_info < (3, 0):
import ConfigParser as configparser
else:
import configparser
from . import utils
LOG = logging.getLogger(__name__)
class Option(object):