Logger Class Reference
A simple logging class.
More...
#include <logger.h>
List of all members.
Static Public Member Functions |
static QTextEdit * | instantiateLogger (QWidget *parent) |
| Instantiates the logger, effectively creating the output textarea.
|
static void | log (const QString &string) |
| Logs a string.
|
static void | log (double number) |
| Logs a double.
|
static void | log (int number) |
| Logs an int.
|
static void | log (double first, double second, double third) |
| Logs a sequence of 3 doubles.
|
static void | logGLErrors (const char *reason) |
| Logs an OpenGL error, citing the first parameter.
|
Detailed Description
A simple logging class.
All the logging goes to a textbox.
Member Function Documentation
QTextEdit * Logger::instantiateLogger |
( |
QWidget * |
parent |
) |
[static] |
Instantiates the logger, effectively creating the output textarea.
- Parameters:
-
| parent | parent of the logger's textarea widget. |
- Returns:
- pointer to tehe textarea widget.
void Logger::log |
( |
double |
first, |
|
|
double |
second, |
|
|
double |
third | |
|
) |
| | [static] |
Logs a sequence of 3 doubles.
- Parameters:
-
| first | first double to log. |
| second | second double to log. |
| third | third double to log. |
void Logger::log |
( |
int |
number |
) |
[static] |
Logs an int.
- Parameters:
-
| number | int variable to be logged. |
void Logger::log |
( |
double |
number |
) |
[static] |
Logs a double.
- Parameters:
-
| number | double variable to be logged. |
void Logger::log |
( |
const QString & |
string |
) |
[static] |
Logs a string.
- Parameters:
-
| string | string to be logged. |
void Logger::logGLErrors |
( |
const char * |
reason |
) |
[static] |
Logs an OpenGL error, citing the first parameter.
- Parameters:
-
| reason | text identifying the logGLErrors method semantical location. |
The documentation for this class was generated from the following files:
- C:/Documents and Settings/benesova/Plocha/FlowVis/vislab2/logger.h
- C:/Documents and Settings/benesova/Plocha/FlowVis/vislab2/logger.cpp