Skip to main content
1-Visitor
April 7, 2011
Question

printing diagnostic and/or log messages from ACL

  • April 7, 2011
  • 4 replies
  • 1187 views

My first foray into ACL today.


What are some good ways to log diagnostic messages from ACL (i.e., something like a "logger" facility, etc.) - either appending list entries into an open diagnostic window (preferred), or to a log file?


"response" and "message" just don't seem to cut it.


    4 replies

    1-Visitor
    April 7, 2011
    eval "your debug message" output=>*

    MartyRoss1-VisitorAuthor
    1-Visitor
    April 7, 2011

    Ok, so I found:



    • fid = open("*", "w")

    But that means I need to write my own "logger" / infrastructure. Isn't there anything simpler - builtin?

    MartyRoss1-VisitorAuthor
    1-Visitor
    April 7, 2011



    In Reply to Paul Nagai:


    eval "your debug message" output=>*


    1-Visitor
    April 7, 2011
    My favorite is:

    eval "my debug message" output=*debug

    This opens up a message (diagnostic) window (different from an eval
    window) and appends messages in this window. Another advantage of using
    this is that it does not take focus away from the current window. This
    can be nice when debugging where certain things happen on window focus
    events.

    - Dave H.

    Dave Helfinstine
    -