#include <TdkLogger.h>
Inheritance diagram for TdkLogger:
Static Public Member Functions | |
static struct _timeb | startMeasure () |
Starts the time measure. | |
static time_t | finishImportShapeMeasure (struct _timeb &startTime, std::string &shapeFilename, bool imported) |
Finishs the time measure and save in the log file. Use to trace a shape importation. | |
static time_t | finishDatabaseConnectMeasure (struct _timeb &startTime, std::string &dbKey) |
Finishs the time measure and save in the log file. Use to trace a database connection. | |
static time_t | finishMeasure (struct _timeb &startTime, std::string outMsg) |
Finishs the time measure and save in the log file. | |
static void | writeToFile (std::string &logMsg) |
Static Protected Member Functions | |
static time_t | writeToFile (struct _timeb &startTime, struct _timeb &finishTime, std::string &logMsg) |
time_t TdkLogger::writeToFile | ( | struct _timeb & | startTime, | |
struct _timeb & | finishTime, | |||
std::string & | logMsg | |||
) | [static, protected] |
struct _timeb TdkLogger::startMeasure | ( | ) | [static, read] |
Starts the time measure.
time_t TdkLogger::finishImportShapeMeasure | ( | struct _timeb & | startTime, | |
std::string & | shapeFilename, | |||
bool | imported | |||
) | [static] |
Finishs the time measure and save in the log file. Use to trace a shape importation.
shapeFilename | The shape file name. | |
imported | If the shape was imported or not. |
time_t TdkLogger::finishDatabaseConnectMeasure | ( | struct _timeb & | startTime, | |
std::string & | dbKey | |||
) | [static] |
Finishs the time measure and save in the log file. Use to trace a database connection.
time_t TdkLogger::finishMeasure | ( | struct _timeb & | startTime, | |
std::string | outMsg | |||
) | [static] |
Finishs the time measure and save in the log file.
void TdkLogger::writeToFile | ( | std::string & | logMsg | ) | [static] |