reference

This documentation is automatically generated from the openFrameworks source code using doxygen and refers to the most recent release, version 0.12.0.

ofLogNotice Class Reference

Derived log class for easy notice logging. More...

#include <ofLog.h>

Inheritance diagram for ofLogNotice:
ofLog

Public Member Functions

 ofLogNotice (const std::string &module="")
 Create a notice log message.
 
 ofLogNotice (const std::string &module, const std::string &message)
 Create a notice log message.
 
template<typename ... Args>
 ofLogNotice (const std::string &module, const char *format, Args &&... args)
 Create a notice log message.
 
- Public Member Functions inherited from ofLog
 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 Public Member Functions inherited from ofLog
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 notice logging.

Example: ofLogNotice("Log message").

Constructor & Destructor Documentation

◆ ofLogNotice() [1/3]

ofLogNotice::ofLogNotice ( const std::string &  module = "")

Create a notice log message.

Parameters
moduleThe target module.

◆ ofLogNotice() [2/3]

ofLogNotice::ofLogNotice ( const std::string &  module,
const std::string &  message 
)

Create a notice log message.

Parameters
moduleThe target module.
messageThe log message.

◆ ofLogNotice() [3/3]

template<typename ... Args>
ofLogNotice::ofLogNotice ( const std::string &  module,
const char *  format,
Args &&...  args 
)
inline

Create a notice log message.

Parameters
moduleThe target module.
formatThe printf-style format string.

The documentation for this class was generated from the following file:
  • /Users/icq4ever/Desktop/oF0120/libs/openFrameworks/utils/ofLog.h