YaST2 |
modules/LogViewCore.ycp |
Displaying a log | |
|
|
This module has an unstable interface. |
Imports
Global FunctionsLocal VariablesLocal Functions |
local
max_lines_default
->
integer
default value of maximum displayed lines
local
lines
->
list<string>
lines of the log
local
data
->
map<string, any>
data describing log: file: filename to read from grep: grep file with expression command: command to run (use instead of file and grep) max_lines: max lines to keep (0 -> infinite)
local
id
->
integer
id of background process
local
is_running
->
boolean
flag indicating if background process is (or should be) running
local
DeleteOldLines ()
->
void
Remove unneeded items from a list of lines If max_lines is 0, then don't remove anything
global
Start (term widget, map<string, any> d)
->
void
Starts the log reading command via process agent.
- Parameters:
-
widget d