Exemplo n.º 1
0
def echo_console(text):
    """Echo a message to the server's console.

    :param str text:
        Message to print to the console.
    """
    for line in text.split('\n'):
        console_message(line + '\n')
Exemplo n.º 2
0
def echo_console(text):
    """Echo a message to the server's console.

    :param str text:
        Message to print to the console.
    """
    for line in text.split('\n'):
        console_message(line + '\n')
Exemplo n.º 3
0
def echo_console(text):
    """Echo a message to the server's console.

    .. note::

        Unlike ``console_message``, this function automatically adds a newline
        at the end of the message.

    :param str text:
        Message to print to the console.
    """
    console_message(text + '\n')
Exemplo n.º 4
0
def echo_console(text):
    """Echo a message to the server's console."""
    for line in text.split('\n'):
        console_message(line + '\n')