set_syslog_mask | R Documentation |
set_syslog_mask
can be used to prevent messages below a priority
level from being written to the system log.
set_syslog_mask(level)
level |
Mask (hide) messages below this priority level. One of
|
## Not run:
open_syslog("my_script")
syslog("This message is visible.", level = "INFO")
set_syslog_mask("WARNING")
syslog("No longer visible.", level = "INFO")
syslog("Still visible.", level = "WARNING")
close_syslog()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.