Skip to content

Logs

The logs functions and classes handle all the system messages.

LogError(message)

LogError - A helper function for error handling.

Parameters

message : str The error message.

Returns

None Returns None as an error indicator.

Source code in src/arx/logs.py
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
def LogError(message: str) -> None:
    """
    LogError - A helper function for error handling.

    Parameters
    ----------
    message : str
        The error message.

    Returns
    -------
    None
        Returns None as an error indicator.
    """
    print(f"Error: {message}\n", file=sys.stderr)