# -*- coding: utf-8 -*-
# Copyright 2018-2021 by Boris Feld

import logging

VERBOSE_LOG_FORMAT = "[%(asctime)s] %(pathname)s:%(lineno)d: %(message)s"


def setup_logging(verbose=False, debug=False):
    logger = logging.getLogger("balto")
    logger.propagate = False
    logger.setLevel(logging.DEBUG)  

    # Reset handlers
    logger.handlers = []

    # Add handler
    console = logging.StreamHandler()

    if debug is False:
        console.setLevel(logging.INFO)
    else:
        console.setLevel(logging.DEBUG)

    if verbose is True:
        formatter = logging.Formatter(VERBOSE_LOG_FORMAT)
        console.setFormatter(formatter)

    logger.addHandler(console)

56f4a1e267e062e34279c4cbd02a7a2f74726a8b
<mask token>

<mask token>


def setup_logging(verbose=False, debug=False):
    logger = logging.getLogger('balto')
    logger.propagate = False
    logger.setLevel(logging.DEBUG)
    logger.handlers = []
    console = logging.StreamHandler()
    if debug is False:
        console.setLevel(logging.INFO)
    else:
        console.setLevel(logging.DEBUG)
    if verbose is True:
        formatter = logging.Formatter(VERBOSE_LOG_FORMAT)
        console.setFormatter(formatter)
    logger.addHandler(console)

<mask token>
VERBOSE_LOG_FORMAT = '[%(asctime)s] %(pathname)s:%(lineno)d: %(message)s'


def setup_logging(verbose=False, debug=False):
    logger = logging.getLogger('balto')
    logger.propagate = False
    logger.setLevel(logging.DEBUG)
    logger.handlers = []
    console = logging.StreamHandler()
    if debug is False:
        console.setLevel(logging.INFO)
    else:
        console.setLevel(logging.DEBUG)
    if verbose is True:
        formatter = logging.Formatter(VERBOSE_LOG_FORMAT)
        console.setFormatter(formatter)
    logger.addHandler(console)

import logging
VERBOSE_LOG_FORMAT = '[%(asctime)s] %(pathname)s:%(lineno)d: %(message)s'


def setup_logging(verbose=False, debug=False):
    logger = logging.getLogger('balto')
    logger.propagate = False
    logger.setLevel(logging.DEBUG)
    logger.handlers = []
    console = logging.StreamHandler()
    if debug is False:
        console.setLevel(logging.INFO)
    else:
        console.setLevel(logging.DEBUG)
    if verbose is True:
        formatter = logging.Formatter(VERBOSE_LOG_FORMAT)
        console.setFormatter(formatter)
    logger.addHandler(console)

# -*- coding: utf-8 -*-
# Copyright 2018-2021 by Boris Feld

import logging

VERBOSE_LOG_FORMAT = "[%(asctime)s] %(pathname)s:%(lineno)d: %(message)s"


def setup_logging(verbose=False, debug=False):
    logger = logging.getLogger("balto")
    logger.propagate = False
    logger.setLevel(logging.DEBUG)  

    # Reset handlers
    logger.handlers = []

    # Add handler
    console = logging.StreamHandler()

    if debug is False:
        console.setLevel(logging.INFO)
    else:
        console.setLevel(logging.DEBUG)

    if verbose is True:
        formatter = logging.Formatter(VERBOSE_LOG_FORMAT)
        console.setFormatter(formatter)

    logger.addHandler(console)
