Description Usage Arguments Value
This function adds a text message to a queue or list with a count limiting how many messages are stored. The queue stores count messages based on first in first out.
1 | logMessage(messages, add_message, txt = FALSE, count = 20)
|
messages |
Character vector. Lines or text log messages. |
add_message |
Character string. Text log message to add to messages |
txt |
Logical. Return messages as single character string delimited by newline characters. |
count |
Numeric. Return queue of count messages and discard the rest. |
Messages as vector or character string.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.