Functions | |
| void | indent (void) |
| Indent it, not MP sane at the moment. | |
| void | outdent (void) |
| Outdent it, not MP sane at the moment. | |
| void | setFileName (const std::string &value) |
| Sets the name of the log file. | |
| bool | open (void) |
| Opens the log file, returns whether this was sucessful or not. | |
| void | close (void) |
| Closes the log file. | |
| void | print (const char *format,...) |
| Prints to the log file. | |
| void | warning (bool condition, const char *format,...) |
| Prints to the log file only if the condition is true and prepends a warning notice. | |
| void | error (bool condition, const char *format,...) |
| Prints to the log file only if the condition is true and prepends an error notice. | |
| std::string | gLogFileName (getenv(kLogFileEnvVar)?getenv(kLogFileEnvVar):"ofxTestLog.txt") |
| the global logfile name | |
| void | doIndent (void) |
| do the indenting | |
Variables | |
| FILE * | gLogFP = 0 |
| log file | |
| int | gIndent = 0 |
| global indent level, not MP sane | |
|
|
Closes the log file.
|
|
|
do the indenting
|
|
||||||||||||||||
|
Prints to the log file only if the condition is true and prepends an error notice.
|
|
|
the global logfile name
|
|
|
Indent it, not MP sane at the moment.
|
|
|
Opens the log file, returns whether this was sucessful or not.
|
|
|
Outdent it, not MP sane at the moment.
|
|
||||||||||||
|
Prints to the log file.
|
|
|
Sets the name of the log file.
|
|
||||||||||||||||
|
Prints to the log file only if the condition is true and prepends a warning notice.
|
|
|
global indent level, not MP sane
|
|
|
log file
|
1.3.9.1