Description Usage Arguments Details Value See Also Examples
Time-stamped output function
1 |
msg |
A message to log (optional) |
... |
Additional items to log (optional) |
level |
Priority level (numeric, optional) |
ts |
Print preceding timestamp? (logical, optional) |
cr |
Print trailing newline? (logical, optional) |
Logs a message, which may consist of one or more printable objects
Invisible success (TRUE) or failure (FALSE)
1 2 3 4 5 6 7 8 9 10 11 | logfile <- openlog("test")
printlog("message")
printlog(1, "plus", 1, "equals", 3)
closelog()
readLines(logfile)
logfile <- openlog("test", loglevel = 1)
printlog("This message will not appear", level = 0)
printlog("This message will appear", level = 1)
closelog(sessionInfo = FALSE)
readLines(logfile)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.