Agora
1.2.0
Agora project
|
#include <backtracer.h>
Public Member Functions | |
backtracer ()=default | |
backtracer (const backtracer &other) | |
backtracer (backtracer &&other) SPDLOG_NOEXCEPT | |
backtracer & | operator= (backtracer other) |
void | enable (size_t size) |
void | disable () |
bool | enabled () const |
void | push_back (const log_msg &msg) |
void | foreach_pop (std::function< void(const details::log_msg &)> fun) |
Private Attributes | |
std::mutex | mutex_ |
std::atomic< bool > | enabled_ {false} |
circular_q< log_msg_buffer > | messages_ |
|
default |
SPDLOG_INLINE spdlog::details::backtracer::backtracer | ( | const backtracer & | other | ) |
SPDLOG_INLINE spdlog::details::backtracer::backtracer | ( | backtracer && | other | ) |
SPDLOG_INLINE void spdlog::details::backtracer::disable | ( | ) |
SPDLOG_INLINE void spdlog::details::backtracer::enable | ( | size_t | size | ) |
SPDLOG_INLINE bool spdlog::details::backtracer::enabled | ( | ) | const |
SPDLOG_INLINE void spdlog::details::backtracer::foreach_pop | ( | std::function< void(const details::log_msg &)> | fun | ) |
SPDLOG_INLINE backtracer & spdlog::details::backtracer::operator= | ( | backtracer | other | ) |
SPDLOG_INLINE void spdlog::details::backtracer::push_back | ( | const log_msg & | msg | ) |
|
private |
|
private |
|
mutableprivate |