Skip to main content

menu

Function menu 

Source
pub fn menu() -> State<MenuItem, LineId>
Available on crate feature log-viewer only.
Expand description

A context menu to pass to LogViewer::context_menu: copy the line or only its message, or show only lines of its level. Turn the chosen entry into an event with MenuItem::event.