logger class (singleton, for developper class)
More...
#include <monolish_logger.hpp>
|
std::vector< std::string > | calls |
|
std::string | filename |
|
std::ostream * | pStream |
|
std::vector< std::chrono::system_clock::time_point > | times |
|
logger class (singleton, for developper class)
Definition at line 19 of file monolish_logger.hpp.
◆ Logger() [1/3]
monolish::Logger::Logger |
( |
| ) |
|
|
privatedefault |
◆ ~Logger()
monolish::Logger::~Logger |
( |
| ) |
|
|
inlineprivate |
◆ Logger() [2/3]
monolish::Logger::Logger |
( |
const Logger & |
| ) |
|
|
delete |
◆ Logger() [3/3]
monolish::Logger::Logger |
( |
Logger && |
| ) |
|
|
delete |
◆ func_in()
void monolish::Logger::func_in |
( |
const std::string |
func_name | ) |
|
◆ func_out()
void monolish::Logger::func_out |
( |
| ) |
|
◆ get_instance()
static Logger& monolish::Logger::get_instance |
( |
| ) |
|
|
inlinestatic |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ set_log_filename()
void monolish::Logger::set_log_filename |
( |
const std::string |
file | ) |
|
|
inline |
◆ set_log_level()
void monolish::Logger::set_log_level |
( |
size_t |
L | ) |
|
|
inline |
Specifying the log level.
- Parameters
-
- Note
- loglevel is
- logging solvers (CG, Jacobi, LU...etc.)
- logging solvers and BLAS functions (matmul, matvec, arithmetic operators..etc.)
- logging solvers and BLAS functions and utils (send, recv, allocation...etc.)
see also monolish::util::set_log_level()
Definition at line 58 of file monolish_logger.hpp.
◆ solver_in()
void monolish::Logger::solver_in |
( |
const std::string |
func_name | ) |
|
◆ solver_out()
void monolish::Logger::solver_out |
( |
| ) |
|
◆ util_in()
void monolish::Logger::util_in |
( |
const std::string |
func_name | ) |
|
◆ util_out()
void monolish::Logger::util_out |
( |
| ) |
|
◆ calls
std::vector<std::string> monolish::Logger::calls |
|
private |
◆ filename
std::string monolish::Logger::filename |
|
private |
◆ LogLevel
size_t monolish::Logger::LogLevel = 0 |
◆ pStream
std::ostream* monolish::Logger::pStream |
|
private |
◆ times
std::vector<std::chrono::system_clock::time_point> monolish::Logger::times |
|
private |
The documentation for this class was generated from the following files: