TuttleOFX  1
ofxsLog.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  OFX
 

The core 'OFX Support' namespace, used by plugin implementations. All code for these are defined in the common support libraries.


namespace  OFX::Log
 

this namespace wraps up logging functionality


Functions

void OFX::Log::indent (void)
 Indent it, not MP sane at the moment.
void OFX::Log::outdent (void)
 Outdent it, not MP sane at the moment.
void OFX::Log::setFileName (const std::string &value)
 Sets the name of the log file.
bool OFX::Log::open (void)
 Opens the log file, returns whether this was sucessful or not.
void OFX::Log::close (void)
 Closes the log file.
void OFX::Log::print (const char *format,...)
 Prints to the log file.
void OFX::Log::warning (bool condition, const char *format,...)
 Prints to the log file only if the condition is true and prepends a warning notice.
void OFX::Log::error (bool condition, const char *format,...)
 Prints to the log file only if the condition is true and prepends an error notice.