Ruff! (v2.3.0)

::ruff::appTop, Main, Index

CommandsTop, Main, Index

log_error [::ruff::app]Top, Main, Index

Stub function to log Ruff! errors.

log_error msg
Details
Parameters
msgThe message to be logged.
Description

When Ruff! encounters errors, it calls this command to notify the user. By default, the command writes $msg to stderr output. An application using the ruff package can redefine this command after loading ruff.

proc ::ruff::app::log_error {msg} {

    # Stub function to log Ruff! errors.
    # msg - the message to be logged
    #
    # When Ruff! encounters errors, it calls this command to
    # notify the user. By default, the command writes $msg
    # to stderr output. An application using the ruff package
    # can redefine this command after loading ruff.
    puts stderr "$msg"
}