BioDynaMo  v1.05.120-25dc9790
Static Public Member Functions | List of all members
bdm::Log Class Reference

Wrapper class over ROOT logging module. More...

#include <log.h>

Static Public Member Functions

template<typename... Args>
static void Debug (const std::string &location, const Args &... parts)
 Prints debug message. More...
 
template<typename... Args>
static void Info (const std::string &location, const Args &... parts)
 Prints information message. More...
 
template<typename... Args>
static void Warning (const std::string &location, const Args &... parts)
 Prints warning message. More...
 
template<typename... Args>
static void Error (const std::string &location, const Args &... parts)
 Prints error message. More...
 
template<typename... Args>
static void Break (const std::string &location, const Args &... parts)
 Prints break message. More...
 
template<typename... Args>
static void SysError (const std::string &location, const Args &... parts)
 Prints system error message. More...
 
template<typename... Args>
static void Fatal (const std::string &location, const Args &... parts)
 Prints fatal error message. More...
 
template<typename... Args>
static void Condition (const std::function< bool()> &lambda, const Args &... parts)
 

Detailed Description

Wrapper class over ROOT logging module.

Definition at line 32 of file log.h.

Member Function Documentation

◆ Break()

template<typename... Args>
static void bdm::Log::Break ( const std::string &  location,
const Args &...  parts 
)
inlinestatic

Prints break message.

Parameters
[in]locationThe location of the message
[in]partsobjects that compose the entire message

Definition at line 91 of file log.h.

◆ Condition()

template<typename... Args>
static void bdm::Log::Condition ( const std::function< bool()> &  lambda,
const Args &...  parts 
)
inlinestatic

Definition at line 124 of file log.h.

◆ Debug()

template<typename... Args>
static void bdm::Log::Debug ( const std::string &  location,
const Args &...  parts 
)
inlinestatic

Prints debug message.

Parameters
[in]locationThe location of the message
[in]partsobjects that compose the entire message

Definition at line 40 of file log.h.

◆ Error()

template<typename... Args>
static void bdm::Log::Error ( const std::string &  location,
const Args &...  parts 
)
inlinestatic

Prints error message.

Parameters
[in]locationThe location of the message
[in]partsobjects that compose the entire message

Definition at line 79 of file log.h.

◆ Fatal()

template<typename... Args>
static void bdm::Log::Fatal ( const std::string &  location,
const Args &...  parts 
)
inlinestatic

Prints fatal error message.

Parameters
[in]locationThe location of the message
[in]partsobjects that compose the entire message

Definition at line 115 of file log.h.

◆ Info()

template<typename... Args>
static void bdm::Log::Info ( const std::string &  location,
const Args &...  parts 
)
inlinestatic

Prints information message.

Parameters
[in]locationThe location of the message
[in]partsobjects that compose the entire message

Definition at line 55 of file log.h.

◆ SysError()

template<typename... Args>
static void bdm::Log::SysError ( const std::string &  location,
const Args &...  parts 
)
inlinestatic

Prints system error message.

Parameters
[in]locationThe location of the message
[in]partsobjects that compose the entire message

Definition at line 103 of file log.h.

◆ Warning()

template<typename... Args>
static void bdm::Log::Warning ( const std::string &  location,
const Args &...  parts 
)
inlinestatic

Prints warning message.

Parameters
[in]locationThe location of the message
[in]partsobjects that compose the entire message

Definition at line 67 of file log.h.


The documentation for this class was generated from the following file: