This documentation is automatically generated from the openFrameworks source code using doxygen and refers to the most recent release, version 0.12.0.
ofLogError Class Reference
Derived log class for easy error logging. More...
#include <ofLog.h>
Inheritance diagram for ofLogError:

Public Member Functions | |
ofLogError (const std::string &module="") | |
Create a error log message. | |
ofLogError (const std::string &module, const std::string &message) | |
Create a error log message. | |
template<typename ... Args> | |
ofLogError (const std::string &module, const char *format, Args &&... args) | |
Create a error log message. | |
![]() | |
ofLog () | |
Start logging on notice level. | |
ofLog (ofLogLevel level) | |
Start logging on a specific ofLogLevel. | |
ofLog (ofLogLevel level, const std::string &message) | |
Log a string at a specific log level. | |
template<typename ... Args> | |
ofLog (ofLogLevel level, const char *format, Args &&... args) | |
Logs a message at a specific log level using the printf interface. | |
Additional Inherited Members | |
![]() | |
static void | setAutoSpace (bool autoSpace) |
Let the logger automaticly add spaces between messages. | |
static void | setChannel (std::shared_ptr< ofBaseLoggerChannel > channel) |
Set the logging channel destinations for messages. | |
static std::shared_ptr< ofBaseLoggerChannel > | getChannel () |
Get the current logging channel. | |
Detailed Description
Derived log class for easy error logging.
Example: ofLogError("Log message")
.
Constructor & Destructor Documentation
◆ ofLogError() [1/3]
ofLogError::ofLogError | ( | const std::string & | module = "" | ) |
Create a error log message.
- Parameters
-
module The target module.
◆ ofLogError() [2/3]
ofLogError::ofLogError | ( | const std::string & | module, |
const std::string & | message | ||
) |
Create a error log message.
- Parameters
-
module The target module. message The log message.
◆ ofLogError() [3/3]
template<typename ... Args>
|
inline |
Create a error log message.
- Parameters
-
module The target module. format The printf-style format string.
The documentation for this class was generated from the following file:
- /Users/icq4ever/Desktop/oF0120/libs/openFrameworks/utils/ofLog.h