sisi4s
Loading...
Searching...
No Matches
sisi4s::Log Class Reference

Class with static members offering control over logging. Log entries are created with the macro LOG. More...

#include <Log.hpp>

Collaboration diagram for sisi4s::Log:

Static Public Member Functions

static void setRank (const int rank)
 
static int getRank ()
 
static void setFileName (const std::string &fileName)
 
static std::string getFileName ()
 
static void setLogLevel (const int logLevel)
 
static int getLogLevel ()
 
static LogStreamgetLogStream ()
 

Static Protected Attributes

static int rank
 
static std::string fileName
 
static int logLevel
 
static LogStreamlogStream
 

Detailed Description

Class with static members offering control over logging. Log entries are created with the macro LOG.

Member Function Documentation

◆ getFileName()

std::string Log::getFileName ( )
static

◆ getLogLevel()

int Log::getLogLevel ( )
static

◆ getLogStream()

LogStream & Log::getLogStream ( )
static

◆ getRank()

int Log::getRank ( )
static

◆ setFileName()

void Log::setFileName ( const std::string &  fileName)
static
Here is the caller graph for this function:

◆ setLogLevel()

void Log::setLogLevel ( const int  logLevel)
static
Here is the caller graph for this function:

◆ setRank()

void Log::setRank ( const int  rank)
static
Here is the caller graph for this function:

Member Data Documentation

◆ fileName

std::string Log::fileName
staticprotected

◆ logLevel

int Log::logLevel
staticprotected

◆ logStream

LogStream * Log::logStream
staticprotected

◆ rank

int Log::rank
staticprotected

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