185. OSRLogFile

YaST2 OS Repair. Automatic error detection & repair tool for Linux.

185.1. Authors

  • Michael Koehrmann <curry@suse.de>

  • Johannes Buchhold <jbuch@suse.de>

185.2. Summary of Module Globals

List of Global Functions

  • Add - Writes the specified string to the end of the log file.

  • GetLogFileName - This function returns the name of the global log file.

  • GetTmpDir - Returns the path of the global temporary directory, e.g. "/tmp/YaST2-02274".

  • OSRLogFile - Constructor.

List of Global Variables

    185.3. Global Functions

    185.3.1. Add

    Writes the specified string to the end of the log file.

    Function parameters

    • string the_string

    Return value

    • boolean - True if the specified string was successfully written

    185.3.2. GetLogFileName

    This function returns the name of the global log file.

    Return value

    • string - The name of the global log file.

    185.3.3. GetTmpDir

    Returns the path of the global temporary directory, e.g. "/tmp/YaST2-02274".

    Return value

    • string - The path of the temporary directory.

    Example 43. 

     string tmpdir = GetTmpDir();


    185.3.4. OSRLogFile

    Constructor.

    Return value

    • void

    185.4. Global Variables

    185.5. Module Requirements

    none