|
using | Level = spdlog::level::level_enum |
|
using | Log = std::shared_ptr<spdlog::logger> |
|
Definition at line 27 of file Logger.h.
◆ Level
using CPS::Logger::Level = spdlog::level::level_enum |
◆ Log
using CPS::Logger::Log = std::shared_ptr<spdlog::logger> |
◆ complexToString()
String Logger::complexToString |
( |
const Complex & | num | ) |
|
|
static |
◆ get()
Logger::Log Logger::get |
( |
const std::string & | name, |
|
|
Level | filelevel = Level::info, |
|
|
Level | clilevel = Level::off ) |
|
static |
◆ getCSVColumnNames()
String Logger::getCSVColumnNames |
( |
std::vector< String > | names | ) |
|
|
static |
◆ getCSVLineFromData() [1/3]
String Logger::getCSVLineFromData |
( |
Real | time, |
|
|
const Matrix & | data ) |
|
static |
◆ getCSVLineFromData() [2/3]
String Logger::getCSVLineFromData |
( |
Real | time, |
|
|
const MatrixComp & | data ) |
|
static |
◆ getCSVLineFromData() [3/3]
String Logger::getCSVLineFromData |
( |
Real | time, |
|
|
Real | data ) |
|
static |
◆ logDir()
String Logger::logDir |
( |
| ) |
|
|
static |
◆ matrixCompToString()
String Logger::matrixCompToString |
( |
const MatrixComp & | mat | ) |
|
|
static |
◆ matrixToString()
String Logger::matrixToString |
( |
const Matrix & | mat | ) |
|
|
static |
◆ phasorMatrixToString()
String Logger::phasorMatrixToString |
( |
const MatrixComp & | mat | ) |
|
|
static |
◆ phasorToString()
String Logger::phasorToString |
( |
const Complex & | num | ) |
|
|
static |
◆ prefix()
String Logger::prefix |
( |
| ) |
|
|
static |
◆ realToString()
String Logger::realToString |
( |
const Real & | num | ) |
|
|
static |
◆ setLogDir()
void Logger::setLogDir |
( |
String | path | ) |
|
|
static |
Set env variable CPS_LOG_DIR and overwrite.
Definition at line 88 of file Logger.cpp.
◆ setLogLevel()
void Logger::setLogLevel |
( |
std::shared_ptr< spdlog::logger > | logger, |
|
|
Logger::Level | level ) |
|
static |
◆ setLogPattern()
void Logger::setLogPattern |
( |
std::shared_ptr< spdlog::logger > | logger, |
|
|
std::string | pattern ) |
|
static |
◆ sparseMatrixCompToString()
String Logger::sparseMatrixCompToString |
( |
const SparseMatrixComp & | mat | ) |
|
|
static |
◆ sparseMatrixToString()
String Logger::sparseMatrixToString |
( |
const SparseMatrix & | mat | ) |
|
|
static |
The documentation for this class was generated from the following files:
- /__w/dpsim/dpsim/dpsim-models/include/dpsim-models/Logger.h
- /__w/dpsim/dpsim/dpsim-models/src/Logger.cpp