Tissue Forge C++ 0.2.1
Interactive, particle-based physics, chemistry and biology modeling and simulation environment
Loading...
Searching...
No Matches
tfLogger.h File Reference
#include <tf_port.h>
#include <sstream>
Include dependency graph for tfLogger.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  TissueForge::LoggingBuffer
 
class  TissueForge::Logger
 

Namespaces

namespace  TissueForge
 Include Python header, disable linking to pythonX_d.lib on Windows in debug mode.
 

Macros

#define TF_Log(level)
 

Typedefs

typedef HRESULT(* TissueForge::LoggerCallback) (LogEvent, std::ostream *)
 

Enumerations

enum  TissueForge::LogLevel {
  TissueForge::LOG_CURRENT = 0 , TissueForge::LOG_FATAL = 1 , TissueForge::LOG_CRITICAL , TissueForge::LOG_ERROR ,
  TissueForge::LOG_WARNING , TissueForge::LOG_NOTICE , TissueForge::LOG_INFORMATION , TissueForge::LOG_DEBUG ,
  TissueForge::LOG_TRACE
}
 
enum  LogEvent { LOG_OUTPUTSTREAM_CHANGED , LOG_LEVEL_CHANGED , LOG_CALLBACK_SET }
 

Macro Definition Documentation

◆ TF_Log

#define TF_Log ( level)
Value:
if (level > TissueForge::Logger::getLevel()) { ; } \
else TissueForge::LoggingBuffer(level, TF_FUNCTION, __FILE__, __LINE__).stream()
static int getLevel()
Get the Level objectget the current logging level.
Definition tfLogger.h:36
std::ostream & stream()
#define TF_FUNCTION
Definition tf_port.h:326