occ
|
logging for debug output, warnings, errors etc. More...
Namespaces | |
namespace | level |
Typedefs | |
using | LogCallback = std::function< void(spdlog::level::level_enum level, const std::string &message)> |
Functions | |
void | set_log_level (const std::string &verbosity) |
void | set_log_level (spdlog::level::level_enum level) |
void | set_log_level (int verbosity) |
void | set_log_file (const std::string &filename) |
void | flush () |
void | flush_on (spdlog::level::level_enum level) |
void | flush_every (std::chrono::seconds interval) |
void | register_log_callback (const LogCallback &callback) |
void | clear_log_callbacks () |
std::vector< std::pair< spdlog::level::level_enum, std::string > > | get_buffered_logs () |
void | clear_log_buffer () |
void | set_log_buffering (bool enable) |
logging for debug output, warnings, errors etc.
using occ::log::LogCallback = typedef std::function<void(spdlog::level::level_enum level, const std::string &message)> |
void occ::log::clear_log_buffer | ( | ) |
void occ::log::clear_log_callbacks | ( | ) |
|
inline |
|
inline |
|
inline |
std::vector< std::pair< spdlog::level::level_enum, std::string > > occ::log::get_buffered_logs | ( | ) |
void occ::log::register_log_callback | ( | const LogCallback & | callback | ) |
void occ::log::set_log_buffering | ( | bool | enable | ) |
void occ::log::set_log_file | ( | const std::string & | filename | ) |
void occ::log::set_log_level | ( | const std::string & | verbosity | ) |
void occ::log::set_log_level | ( | int | verbosity | ) |
void occ::log::set_log_level | ( | spdlog::level::level_enum | level | ) |