logViewerOutput: Display app logs

View source: R/logViewer.R

logViewerOutputR Documentation

Display app logs

Description

Display app log data in downloadableReactTable table containing logged user actions. Table contents are auto updated whenever a user action is logged. User can search for logs, sort them by time and download them in CSV or TSV format. The id must match the same id configured in server.R file upon calling fw_server_setup method

Usage

logViewerOutput(id = "logViewer")

Arguments

id

character id for the object(default = "logViewer")

Value

downloadableReactTableUI instance

Table columns

  • action - the action that id logged in any place in app

  • time - action time

Example

logViewerOutput('logViewer')

Shiny Usage

Add the log viewer box to your box list

It is paired with a call to fw_server_setup method in server.R file

See Also

downloadFile

downloadFile_ValidateTypes

downloadFile_AvailableTypes

downloadablePlot

downloadFileButton

downloadableTableUI

downloadableTable

Examples

# Inside ui_body add the log viewer box to your box list

logViewerOutput('logViewerId')



periscope2 documentation built on Sept. 9, 2025, 5:44 p.m.