class STAppLogging

Application logging. More...

Definition#include <STAppLogging.h>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Members


Detailed Description

Provides logging to text files in the directory that the application is running in. Or in another directory of your choice.

Example:


 STAppLogging *MyLog;
 MyLog = new STAppLogging();
 MyLog->Log("My app is running ok at this line.");
 delete MyLog;

char * LogFile

LogFile

char * LogFilePath

LogFilePath

bool LoggingOn

LoggingOn

 STAppLogging ()

STAppLogging

Constructor

 ~STAppLogging ()

~STAppLogging

Destructor

int  ShareFileWithEveryOne ()

ShareFileWithEveryOne

Unrestrict file permissions.

int  SetLogFileName (const char *NewName)

SetLogFileName

Change the name of the log file.

int  SetLogFileName (QString &NewName)

SetLogFileName

Change the name of the log file.

int  SetLogFilePath (const char *NewPath)

SetLogFilePath

Change the path to the log file.

int  Log (QString &TextToLog)

Log

Write a log to log file.

int  Log (const char *TextToLog)

Log

Write a log to log file.

int  ClearLog (void)

ClearLog

Delete all logs in log file.


Generated by: root on UtopiaPlanitia.Ept on Mon Dec 10 22:55:12 2001, using kdoc 2.0a53.