<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def msg(message):
 """ Log a regular message :param message: the message to be logged """

    to_stdout(" --- {message}".format(message=message))
    if _logger:
        _logger.info(message)