Skip to main content
1-Visitor
Apr 7, 2011 12:26 AM UTC
Question

printing diagnostic and/or log messages from ACL

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
    Apr 7, 2011 12:29 AM UTC
    eval "your debug message" output=>*

    Translate
    MartyRoss1-VisitorAuthor
    1-Visitor
    Apr 7, 2011 12:46 AM UTC

    Ok, so I found:



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

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

    Translate
    MartyRoss1-VisitorAuthor
    1-Visitor
    Apr 7, 2011 12:47 AM UTC



    In Reply to Paul Nagai:


    eval "your debug message" output=>*


    Translate
    1-Visitor
    Apr 7, 2011 4:20 PM UTC
    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
    -
    Translate