SESSIONLOG Class Reference

#include <mi32/sessionlog.h>

List of all members.

Static Public Member Functions

static void AppendText (const MISTRING &text)
static const char * GetAppName ()
static void Initialize (const char *AppName, const FILEPATH &path)
static void Initialize (const char *AppName)
static void ReportBuildTime (const MISTRING &name, const char *datestr=__DATE__, const char *timestr=__TIME__)
static void ReportFileLine (const char *namestr, INT32 line)
static void Terminate (bool IsNormal)

Member Function Documentation

static void SESSIONLOG::AppendText ( const MISTRING text  )  [static]

Append text to log.

Note that the log file will be opened and closed each time this is called so it should not be done in time-critical code, nor so frequently that the log grows excessively large. This is called automatically by progress message and error windows.

Parameters:
text Text to append, may be multi-line
static const char* SESSIONLOG::GetAppName (  )  [static]

Get application name used for logging.

static void SESSIONLOG::Initialize ( const char *  AppName,
const FILEPATH path 
) [static]

Initialize and log application startup. Use specific path for log.

Parameters:
path Application name path to log
static void SESSIONLOG::Initialize ( const char *  AppName  )  [static]

Initialize and log application startup.

Parameters:
AppName Application name
static void SESSIONLOG::ReportBuildTime ( const MISTRING name,
const char *  datestr = __DATE__,
const char *  timestr = __TIME__ 
) [static]

Report build date for component.

Parameters:
datestr Component or file name to report
static void SESSIONLOG::ReportFileLine ( const char *  namestr,
INT32  line 
) [static]

Report file name and line number.

Parameters:
line File name, usually __FILE__ Line number, usually __LINE__
static void SESSIONLOG::Terminate ( bool  IsNormal  )  [static]

Log application termination.

Parameters:
IsNormal Indicates if termination normal(true) or not(false)

The documentation for this class was generated from the following file:

Generated on Sun Oct 7 21:33:50 2012 for TNTsdk 2012 by  doxygen 1.6.1