Rewards2/Dhanny_reward2/run.py
def log(msg: str, level='debug'):
    """
    Log output to the console

    `Optional`
    :param str level:   Level of verbosity

    `Required`
    :param str msg:     Data to display on console
    """
    logging.basicConfig(level=logging.DEBUG if globals()['_debug'] else logging.INFO, handlers=[logging.StreamHandler()])
    logger = logging.getLogger()
    getattr(logger, level if hasattr(logger, level) else 'debug')(str(msg))

    Log output to the console

    `Optional`
    :param str level:   Level of verbosity

    `Required`
    :param str msg:     Data to display on console
    
Log output to the console
`Optional`
Log output to the console ` Optional `
def log(msg: str, level='debug'):
    logging.basicConfig(level=logging.DEBUG if globals()['_debug'] else logging.INFO, handlers=[logging.StreamHandler()])
    logger = logging.getLogger()
    getattr(logger, level if hasattr(logger, level) else 'debug')(str(msg))
def log ( msg : str , level = 'debug' ) : logging . basicConfig ( level = logging . DEBUG if globals ( ) [ '_debug' ] else logging . INFO , handlers = [ logging . StreamHandler ( ) ] ) logger = logging . getLogger ( ) getattr ( logger , level if hasattr ( logger , level ) else 'debug' ) ( str ( msg ) )
Log output to the console
`Optional`
Log output to the console ` Optional `
"""
    Log output to the console

    `Optional`
    :param str level:   Level of verbosity

    `Required`
    :param str msg:     Data to display on console
    """
msg
str
Data to display on console
Data to display on console
level
Level of verbosity
`Required`
Level of verbosity ` Required `