Logger_log: Log messages, possible echoed to the command line

Logger_logR Documentation

Log messages, possible echoed to the command line

Description

Log messages, possible echoed to the command line

Arguments

...

message parts, passed to sprintf so should start with a formatting string followed by one or more arguments. See do_sprintf to control this behavior.

leader

character, statement prepended to the message

paste.sep

character, by default a space separates message parts

append

if TRUE then append to the log file, otherwise overwrite

sep

character, by default \n separates one message from subsequent ones

do_timestamp

logical, if TRUE append a timestamp to the message

do_echo

logical if TRUE then echo the output to the console.

do_sprintf

logical, if TRUE (the default) the ... arguments are passed to sprintf if false the ... are passed to paste

Value

the message is returned invisibly

See Also

Other Logger: Logger_elapsed, Logger_error, Logger_info, Logger_scriptreport, Logger_setfilename, Logger_tail, Logger_warn, Logger


BigelowLab/rscripting documentation built on Oct. 24, 2022, 5:31 p.m.