helics  3.5.2
Public Member Functions | Static Public Member Functions | List of all members
helics::LoggerManager Class Reference

#include <loggerCore.hpp>

Public Member Functions

const std::string & getName () const
 

Static Public Member Functions

static std::shared_ptr< LoggerManagergetLoggerManager (const std::string &loggerName="")
 
static std::shared_ptr< LoggingCoregetLoggerCore (const std::string &loggerName="")
 
static void closeLogger (const std::string &loggerName="")
 
static void logMessage (std::string message)
 

Detailed Description

class defining a singleton manager for all logging use

Member Function Documentation

◆ closeLogger()

void helics::LoggerManager::closeLogger ( const std::string &  loggerName = "")
static

close the named Logger

prevents the Logger from being retrieved through this class but does not necessarily destroy the Logger

◆ getLoggerCore()

std::shared_ptr< LoggingCore > helics::LoggerManager::getLoggerCore ( const std::string &  loggerName = "")
static

get a pointer to a logging core

◆ getLoggerManager()

std::shared_ptr< LoggerManager > helics::LoggerManager::getLoggerManager ( const std::string &  loggerName = "")
static

get a pointer to a logging manager so it cannot go out of scope

◆ getName()

const std::string& helics::LoggerManager::getName ( ) const
inline

get the name of the logger

◆ logMessage()

void helics::LoggerManager::logMessage ( std::string  message)
static

sends a message to the default Logger


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