import logging


def get_logger(name='default'):
    """Return the logger with name value automatically or editable by name param."""
    name = locals().get('__name__') if name == 'default' else name
    return logging.getLogger(name)