mirror of
https://github.com/gabime/spdlog.git
synced 2025-10-02 11:29:01 +08:00
Refactored logger
This commit is contained in:
@@ -48,10 +48,6 @@ SPDLOG_INLINE bool backtracer::enabled() const
|
||||
return enabled_.load(std::memory_order_relaxed);
|
||||
}
|
||||
|
||||
SPDLOG_INLINE backtracer::operator bool() const
|
||||
{
|
||||
return enabled();
|
||||
}
|
||||
|
||||
SPDLOG_INLINE void backtracer::push_back(const log_msg &msg)
|
||||
{
|
||||
|
@@ -31,7 +31,6 @@ public:
|
||||
void enable(size_t size);
|
||||
void disable();
|
||||
bool enabled() const;
|
||||
explicit operator bool() const;
|
||||
void push_back(const log_msg &msg);
|
||||
|
||||
// pop all items in the q and apply the given fun on each of them.
|
||||
|
Reference in New Issue
Block a user