This documentation is automatically generated from the openFrameworks source code using doxygen and refers to the most recent release, version 0.12.0.
ofLog.h
Go to the documentation of this file.
125};
296// Class idea from http://www.gamedev.net/community/forums/topic.asp?topic_id=525405&whichpage=1�
297// How to catch std::endl (which is actually a func pointer) http://yvan.seth.id.au/Entries/Technology/Code/std__endl.html
Definition ofFileUtils.h:472
ofLogError(const std::string &module, const char *format, Args &&... args)
Create a error log message.
Definition ofLog.h:621
ofLogError(const std::string &module, const std::string &message)
Create a error log message.
ofLogFatalError(const std::string &module, const std::string &message)
Create a fatal error log message.
ofLogFatalError(const std::string &module, const char *format, Args &&... args)
Create a fatal error log message.
Definition ofLog.h:643
ofLogFatalError(const std::string &module="")
Create a fatal error log message.
ofLog(ofLogLevel level, const char *format, Args &&... args)
Logs a message at a specific log level using the printf interface.
Definition ofLog.h:436
static std::shared_ptr< ofBaseLoggerChannel > getChannel()
Get the current logging channel.
Definition ofLog.cpp:205
ofLog(ofLogLevel level, const std::string &message)
Log a string at a specific log level.
static void setAutoSpace(bool autoSpace)
Let the logger automaticly add spaces between messages.
Definition ofLog.cpp:101
static void setChannel(std::shared_ptr< ofBaseLoggerChannel > channel)
Set the logging channel destinations for messages.
Definition ofLog.cpp:197
ofLogNotice(const std::string &module, const char *format, Args &&... args)
Create a notice log message.
Definition ofLog.h:578
ofLogNotice(const std::string &module, const std::string &message)
Create a notice log message.
ofLogVerbose(const std::string &module, const std::string &message)
Create a verbose log message.
ofLogVerbose(const std::string &module, const char *format, Args &&... args)
Create a verbose log message.
Definition ofLog.h:556
ofLogWarning(const std::string &module, const std::string &message)
Create a verbose log message.
ofLogWarning(const std::string &module, const char *format, Args &&... args)
Create a verbose log message.
Definition ofLog.h:599
std::shared_ptr< ofBaseLoggerChannel > ofGetLoggerChannel()
Get the current logger channel.
Definition ofLog.cpp:209
std::string ofGetLogLevelName(ofLogLevel level, bool pad=false)
Get log level name as a string.
Definition ofLog.cpp:213
void ofLogToFile(const of::filesystem::path &path, bool append=false)
Set the logging to output to a file instead of the console.
Definition ofLog.cpp:64
void ofSetLogLevel(ofLogLevel level)
Sets the logging level to selectively show log messages.
Definition ofLog.cpp:40
void ofSetLoggerChannel(std::shared_ptr< ofBaseLoggerChannel > loggerChannel)
Set the logger to use a custom logger channel.
ofLogLevel ofGetLogLevel()
Get the currently set global logging level.
Definition ofLog.cpp:50
std::ostream & operator<<(std::ostream &os, const ofMatrix3x3 &M)
Definition ofMatrix3x3.cpp:304
std::string ofVAArgsToString(const char *format, Args &&... args)
Convert a variable length argument to a string.
Definition ofUtils.h:619