148. OSRLogFile

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

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

    148.2. Global Functions

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

    148.2.2. GetLogFileName

    This function returns the name of the global log file.

    Return value

    • string - The name of the global log file.

    148.2.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 27. 

     string tmpdir = GetTmpDir();


    148.2.4. OSRLogFile

    Constructor.

    Return value

    • void

    148.3. Global Variables

    148.4. Module Requirements

    none