129. LogView

Displaying a log with additional functionality

129.1. Authors

  • Jiri Srain <jsrain@suse.cz>

129.2. Summary of Module Globals

List of Global Functions

  • AdvancedHelp - Get the second part of the help for the log in case of advanced functions

  • AdvancedSaveHelp - Get the second part of the help for the log in case of advanced functions and save support

  • CreateWidget - Get the map with the log view widget

  • Display - Main function for displaying logs

  • DisplayFiltered - Display log with filtering with 100 lines

  • DisplaySimple - Display specified file, list 100 lines

  • LogHandle - Handle the event on the log view widget

  • LogInit - Initialize the displayed log

  • LogSelectionHelp - Get the help for the log in case of multiple logs

  • SaveHelp - Get the second part of the help for the log in case of save support

  • SingleLogHelp - Get the help for the log in case of a single log

List of Global Variables

    129.3. Global Functions

    129.3.1. AdvancedHelp

    Get the second part of the help for the log in case of advanced functions

    Function parameters

    • string label

    Return value

    • string - part of the log

    129.3.2. AdvancedSaveHelp

    Get the second part of the help for the log in case of advanced functions and save support

    Function parameters

    • string label

    Return value

    • string - part of the log

    129.3.3. CreateWidget

    Get the map with the log view widget

    Function parameters

    • map<string,any> parameters

    • list<map<string,any> > log_files

    Return value

    • map - the log widget

    129.3.4. Display

    Main function for displaying logs

    Function parameters

    • map<string, any> parameters

    Return value

    • void

    129.3.5. DisplayFiltered

    Display log with filtering with 100 lines

    Function parameters

    • string file

    • string grep

    Return value

    • void

    129.3.6. DisplaySimple

    Display specified file, list 100 lines

    Function parameters

    • string file

    Return value

    • void

    129.3.7. LogHandle

    Handle the event on the log view widget

    Function parameters

    • string key

    • map event

    Return value

    • symbol - always nil

    129.3.8. LogInit

    Initialize the displayed log

    Function parameters

    • string key

    Return value

    • void

    129.3.9. LogSelectionHelp

    Get the help for the log in case of multiple logs

    Return value

    • string - part of the log

    129.3.10. SaveHelp

    Get the second part of the help for the log in case of save support

    Return value

    • string - part of the log

    129.3.11. SingleLogHelp

    Get the help for the log in case of a single log

    Return value

    • string - part of the log

    129.4. Global Variables

    129.5. Module Requirements

    129.5.1. Module Imports

    • CWM
    • Label
    • LogViewCore
    • Popup
    • Report

    129.5.2. Module Includes