fixed grammar error and rephrased configure_logger docstring
# -*- coding: utf-8 -*-
-"""Module for up logging set up."""
+"""Module for setting up logging."""
import logging
import sys
@@ -22,8 +22,8 @@ LOG_FORMATS = {
def configure_logger(stream_level='DEBUG', debug_file=None):
"""Configure logging for cookiecutter.
- Set up logging to stdout with given level and with DEBUG level for logging
- to file if debug_file given.
+ Set up logging to stdout with given level.
+ If debug_file is given set up logging to file with DEBUG level.
"""
# Set up 'cookiecutter' logger
logger = logging.getLogger('cookiecutter')
