OGS
Logging.cpp File Reference

Detailed Description

Definition in file Logging.cpp.

#include "Logging.h"
#include <spdlog/common.h>
#include <spdlog/sinks/stdout_color_sinks.h>
#include <spdlog/spdlog.h>
#include <exception>
#include <iostream>
#include <map>
#include "Error.h"
#include "MPI.h"
Include dependency graph for Logging.cpp:

Go to the source code of this file.

Namespaces

namespace  anonymous_namespace{Logging.cpp}
 
namespace  BaseLib
 

Functions

void anonymous_namespace{Logging.cpp}::mpi_error_handler (const std::string &msg)
 
void anonymous_namespace{Logging.cpp}::error_handler (const std::string &msg)
 
void BaseLib::setConsoleLogLevel (std::string const &level_string)
 
void BaseLib::initOGSLogger (std::string const &log_level)
 

Variables

static int anonymous_namespace{Logging.cpp}::mpi_rank = -1
 
std::shared_ptr< spdlog::logger > BaseLib::console