

@staticmethod
def _log(severity, message, value=None):
    '\n            Log a message\n\n            @param severity: the severity of the message\n            @param message: the message\n            @param value: message suffix (optional)\n        '
    logger = logging.getLogger(__name__)
    logger.propagate = False
    msg = (('%s: %s' % (message, value)) if value else message)
    extra = {
        'caller': 'S3LOG',
    }
    if current.deployment_settings.get_log_caller_info():
        caller = logger.findCaller()
        if msg:
            extra = {
                'caller': ('(%s %s %s)' % caller),
            }
    logger.log(severity, msg, extra=extra)
    return

dataset/ETHPy150Open sahana/eden/modules/s3log.py S3Log._log/VarMisuse@85/168 `caller`->`msg`