| LogView | R Documentation |
See log_view().
Widget -> ListBase -> LogView
has_cursorLog views scroll; they have no cursor.
max_linesLines kept (older lines are dropped).
timestampsPrefix lines with the time?
auto_scrollFollow new lines while scrolled to the end?
linesThe current lines.
pausedIs following paused?
Widget$add_class()Widget$ancestors()Widget$animate()Widget$arrange_children()Widget$bind()Widget$bind_reactive()Widget$bindings()Widget$blur()Widget$capture_mouse()Widget$child_clip()Widget$computed_style()Widget$focus()Widget$format()Widget$get_state()Widget$has_class()Widget$invalidate()Widget$invalidate_paint()Widget$is_displayed()Widget$is_enabled()Widget$layout_descend()Widget$layout_differs()Widget$matches()Widget$mount()Widget$on()Widget$post_message()Widget$print()Widget$pseudo_states()Widget$query()Widget$query_one()Widget$refresh()Widget$release_mouse()Widget$remove()Widget$remove_children()Widget$remove_class()Widget$render()Widget$render_lines()Widget$replace()Widget$run_action()Widget$run_process()Widget$run_worker()Widget$set()Widget$set_interval()Widget$set_state()Widget$set_timeout()Widget$toggle_class()Widget$walk()ListBase$action_list_activate()ListBase$action_list_down()ListBase$action_list_first()ListBase$action_list_last()ListBase$action_list_page_down()ListBase$action_list_page_up()ListBase$action_list_up()ListBase$content_height()ListBase$content_width()ListBase$default_bindings()ListBase$default_style()ListBase$highlight()ListBase$on_activate()ListBase$on_click()ListBase$on_highlight()ListBase$on_mouse_down()ListBase$on_mouse_scroll()ListBase$paint()ListBase$scroll_to_end()ListBase$scroll_to_item()LogView$new()Create a log view. See log_view().
LogView$new( max_lines = 1000L, timestamps = FALSE, auto_scroll = TRUE, id = NULL, classes = NULL, style = NULL )
max_lines, timestamps, auto_scrollSee fields.
id, classes, styleSee Widget.
LogView$write()Add lines.
LogView$write(..., level = "info")
...Text, pasted together; newlines start new lines.
level"debug", "info", "success", "warning" or "error".
LogView$clear()Remove all lines.
LogView$clear()
LogView$pause()Stop following new lines.
LogView$pause()
LogView$resume()Follow new lines again (and jump to the end).
LogView$resume()
LogView$at_end()Is the view scrolled to the last line?
LogView$at_end()
LogView$item_count()Number of lines.
LogView$item_count()
LogView$item_text()Text of line i.
LogView$item_text(i)
iIndex.
LogView$item_style()Style of line i (by level).
LogView$item_style(i)
iIndex.
LogView$clone()The objects of this class are cloneable with this method.
LogView$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.