omnipath_msg | R Documentation |
Any package or script can easily send log messages and establish a logging facility with the fantastic 'logger' package. This function serves the only purpose if you want to inject messages into the logger of OmnipathR. Otherwise we recommend to use the 'logger' package directly.
omnipath_msg(level, ...)
level |
Character, numeric or class loglevel. A log level, if character one of the followings: "fatal", "error", "warn", "success", "info", "trace". |
... |
Arguments for string formatting, passed |
Returns 'NULL'.
omnipath_msg(
level = 'success',
'Talking to you in the name of OmnipathR, my favourite number is %d',
round(runif(1, 1, 10))
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.