|
using | Level = spdlog::level::level_enum |
|
using | Log = std::shared_ptr< spdlog::logger > |
|
|
static String | prefix () |
|
static String | logDir () |
|
static void | setLogDir (String path) |
| Set env variable CPS_LOG_DIR and overwrite.
|
|
static Log | get (const std::string &name, Level filelevel=Level::info, Level clilevel=Level::off) |
|
static void | setLogLevel (std::shared_ptr< spdlog::logger > logger, Logger::Level level) |
|
static void | setLogPattern (std::shared_ptr< spdlog::logger > logger, std::string pattern) |
|
static String | matrixToString (const Matrix &mat) |
|
static String | matrixCompToString (const MatrixComp &mat) |
|
static String | sparseMatrixToString (const SparseMatrix &mat) |
|
static String | sparseMatrixCompToString (const SparseMatrixComp &mat) |
|
static String | phasorMatrixToString (const MatrixComp &mat) |
|
static String | phasorToString (const Complex &num) |
|
static String | complexToString (const Complex &num) |
|
static String | realToString (const Real &num) |
|
static String | getCSVColumnNames (std::vector< String > names) |
|
static String | getCSVLineFromData (Real time, Real data) |
|
static String | getCSVLineFromData (Real time, const Matrix &data) |
|
static String | getCSVLineFromData (Real time, const MatrixComp &data) |
|
Definition at line 27 of file Logger.h.
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