| showLogs | R Documentation |
These functions provide access to the logs for deployed ShinyApps applications:
showLogs() displays the logs.
getLogs() returns the logged lines.
Supported servers: ShinyApps servers
showLogs(
appPath = getwd(),
appFile = NULL,
appName = NULL,
account = NULL,
server = NULL,
entries = 50,
streaming = FALSE
)
getLogs(
appPath = getwd(),
appFile = NULL,
appName = NULL,
account = NULL,
server = NULL,
entries = 50
)
appPath |
The path to the directory or file that was deployed. |
appFile |
The path to the R source file that contains the application (for single file applications). |
appName |
The name of the application to show logs for. May be omitted
if only one application deployment was made from |
account |
The account under which the application was deployed. May be omitted if only one account is registered on the system. |
server |
Server name. Required only if you use the same account name on multiple servers. |
entries |
The number of log entries to show. Defaults to 50 entries. |
streaming |
Whether to stream the logs. If |
getLogs() returns a data frame containing the logged lines.
These functions only use the libcurl transport, and only work
for applications deployed to ShinyApps.io.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.