|
| enum class | LoggerType { GUI
, Engine
} |
|
|
| Logger (LoggerType type) |
| std::pair< fs::path, fs::path > | generate_compresed_file (fs::path &dir, fs::path &path) const override |
| | Generates a compressed log file (for sending with bug reports).
|
| bool | need_backtrace () const override |
| fs::path | get_log_file_path () const override |
|
void | init_sinks (bool for_testing) |
|
std::vector< Utf8String > | get_last_log_entries (size_t count, bool formatted) const |
| const std::shared_ptr< spdlog::logger > & | get_logger () const |
|
| std::shared_ptr< spdlog::logger > | logger_ |
| double | last_bt_time_ = 0 |
| | Last timestamp a backtrace was obtained.
|
Definition at line 65 of file logger.h.
◆ LoggerType
| enum class zrythm::utils::Logger::LoggerType |
|
strong |
◆ generate_compresed_file()
| std::pair< fs::path, fs::path > zrythm::utils::Logger::generate_compresed_file |
( |
fs::path & | dir, |
|
|
fs::path & | path ) const |
|
overridevirtual |
Generates a compressed log file (for sending with bug reports).
- Returns
- The directory and the path of the compressed file.
- Exceptions
-
Implements zrythm::utils::ILogger.
◆ get_log_file_path()
| fs::path zrythm::utils::Logger::get_log_file_path |
( |
| ) |
const |
|
nodiscardoverridevirtual |
◆ need_backtrace()
| bool zrythm::utils::Logger::need_backtrace |
( |
| ) |
const |
|
overridevirtual |
The documentation for this class was generated from the following file: