166. OSRLogFile

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

166.1. Authors

  • Michael Koehrmann <curry@suse.de>

  • Johannes Buchhold <jbuch@suse.de>

166.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

    166.3. Global Functions

    166.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

    166.3.2. GetLogFileName

    This function returns the name of the global log file.

    Return value

    • string - The name of the global log file.

    166.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 41. 

     string tmpdir = GetTmpDir();


    166.3.4. OSRLogFile

    Constructor.

    Return value

    • void

    166.4. Global Variables

    166.5. Module Requirements

    none