Lumail - The console email client


Lua primitives: log_message()

NOTE: Lumail-legacy has been superseded by Lumail 2.x, which has a wholly unified Lua API.

If lumail is compiled with debugging support enabled then output will be written to a logfile. (The logfile name is specified via the --debug command-line flag.)

The log_message() primitive will allow you to append your own message to that logfile.

For example:

log_message( "The user is " .. os.getenv( "USER" ) );

Availability

This function has been available since version 0.10.

See Also

See also DEBUG, dump_stack.