import logging

from minid.minid import MinidClient


def configure_logging(level=logging.INFO, logpath=None):
    log_format = "%(asctime)s - %(levelname)s - %(message)s"
    if logpath:
        logging.basicConfig(filename=logpath, level=level, format=log_format)
    else:
        logging.basicConfig(level=level, format=log_format)


# https://docs.python.org/3/howto/logging.html#configuring-logging-for-a-library  # noqa
logging.getLogger('minid').addHandler(logging.NullHandler())

__all__ = [
    'MinidClient',
]

3acc4c293324331130d7bba54f9e7fc9aa79b9d7
<mask token>


def configure_logging(level=logging.INFO, logpath=None):
    log_format = '%(asctime)s - %(levelname)s - %(message)s'
    if logpath:
        logging.basicConfig(filename=logpath, level=level, format=log_format)
    else:
        logging.basicConfig(level=level, format=log_format)


<mask token>

<mask token>


def configure_logging(level=logging.INFO, logpath=None):
    log_format = '%(asctime)s - %(levelname)s - %(message)s'
    if logpath:
        logging.basicConfig(filename=logpath, level=level, format=log_format)
    else:
        logging.basicConfig(level=level, format=log_format)


logging.getLogger('minid').addHandler(logging.NullHandler())
<mask token>

<mask token>


def configure_logging(level=logging.INFO, logpath=None):
    log_format = '%(asctime)s - %(levelname)s - %(message)s'
    if logpath:
        logging.basicConfig(filename=logpath, level=level, format=log_format)
    else:
        logging.basicConfig(level=level, format=log_format)


logging.getLogger('minid').addHandler(logging.NullHandler())
__all__ = ['MinidClient']

import logging
from minid.minid import MinidClient


def configure_logging(level=logging.INFO, logpath=None):
    log_format = '%(asctime)s - %(levelname)s - %(message)s'
    if logpath:
        logging.basicConfig(filename=logpath, level=level, format=log_format)
    else:
        logging.basicConfig(level=level, format=log_format)


logging.getLogger('minid').addHandler(logging.NullHandler())
__all__ = ['MinidClient']

import logging

from minid.minid import MinidClient


def configure_logging(level=logging.INFO, logpath=None):
    log_format = "%(asctime)s - %(levelname)s - %(message)s"
    if logpath:
        logging.basicConfig(filename=logpath, level=level, format=log_format)
    else:
        logging.basicConfig(level=level, format=log_format)


# https://docs.python.org/3/howto/logging.html#configuring-logging-for-a-library  # noqa
logging.getLogger('minid').addHandler(logging.NullHandler())

__all__ = [
    'MinidClient',
]
