Description Usage Arguments Details
set a log4r logger used within the package
1 | set_logger(logger, token = NULL)
|
logger |
A logger object see |
token |
Set a unique identifier for this logger. |
This function will save each logger in the wilson.globals environment. Each logger is stored by the name 'logger'[token] (e.g. 'logger6b821824b0b53b1a3e8f531a34d0d6e6').
Use onSessionEnded to clean up after logging. See onFlush
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.