Panel: log

Syntax

{<name>:} log {<file>}

Description

Text log sub-panel. An output-only sub-panel used for text listing. Its contents can be directed to a log file.

Membership

Parameters

Switches

Callbacks

None

Examples

Create a panel window containing a text log of 10 rows with a white background.

window w = wpanel {
    log: log -r=10,-bc=white
}

Create a panel window containing a text log of 80 characters wide, and default height.

window w = wpanel {
    log: log /tmp/window.log,-tit='Window Log',-c=80
}
# Write a line of text to the log
tell -log=w.log,<'Start time:',now>

See Also

Files:

log file

Utilities:

mxlog