Description Usage Arguments Options Examples
Writes a log message, suitable for use inside pipes, meaning that the first
argument is passed through untouched. The log message is processed using
glue::glue, and you can reference the incoming data as .data
inside the
log message.
1 |
.data |
This argument is returned as-is. |
msg |
The log message, processed using glue::glue. You can refernce
the data passed in via |
level |
The log level, default is "INFO" and possible values include "DEBUG", "INFO", "WARNING", "ERROR", and "FATAL". |
You can set the maximum debug level and the log output locations using the
global options grkmisc.log_level
and grkmisc.log_output
. The defaults
are "INFO"
and stdout()
respectively.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.