::ruff::appTop, Main, Index

Commandsapp, Top, Main, Index

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

Stub function to log Ruff! errors.

log_error msg
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"
}
Document generated by Ruff!
© 2021 Ashok P. Nadkarni