RINGMesh  Version 5.0.0
A programming library for geological model meshes
RINGMesh::Logger Class Reference

#include <logger.h>

Static Public Member Functions

static void div (const std::string &title)
 
template<typename... Args>
static void out (const std::string &feature, const Args &... args)
 
template<typename... Args>
static void err (const std::string &feature, const Args &... args)
 
template<typename... Args>
static void warn (const std::string &feature, const Args &... args)
 
static GEO::Logger * instance ()
 

Static Private Member Functions

static void log (std::ostream &os)
 
template<class A0 , class... Args>
static void log (std::ostream &os, const A0 &a0, const Args &... args)
 

Static Private Attributes

static std::mutex lock_
 

Detailed Description

Definition at line 51 of file logger.h.

Member Function Documentation

◆ div()

static void RINGMesh::Logger::div ( const std::string &  title)
inlinestatic

Definition at line 54 of file logger.h.

◆ err()

template<typename... Args>
static void RINGMesh::Logger::err ( const std::string &  feature,
const Args &...  args 
)
inlinestatic

Definition at line 68 of file logger.h.

◆ instance()

static GEO::Logger* RINGMesh::Logger::instance ( )
inlinestatic

Definition at line 81 of file logger.h.

◆ log() [1/2]

static void RINGMesh::Logger::log ( std::ostream &  os)
inlinestaticprivate

Definition at line 87 of file logger.h.

◆ log() [2/2]

template<class A0 , class... Args>
static void RINGMesh::Logger::log ( std::ostream &  os,
const A0 &  a0,
const Args &...  args 
)
inlinestaticprivate

Definition at line 93 of file logger.h.

◆ out()

template<typename... Args>
static void RINGMesh::Logger::out ( const std::string &  feature,
const Args &...  args 
)
inlinestatic

Definition at line 61 of file logger.h.

◆ warn()

template<typename... Args>
static void RINGMesh::Logger::warn ( const std::string &  feature,
const Args &...  args 
)
inlinestatic

Definition at line 75 of file logger.h.

Member Data Documentation

◆ lock_

std::mutex RINGMesh::Logger::lock_
staticprivate

Definition at line 100 of file logger.h.


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