mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-24 14:42:13 +08:00
format
This commit is contained in:
parent
ced44a15ea
commit
feefb7e7e2
@ -3,10 +3,14 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "spdlog/common.h"
|
|
||||||
#include "spdlog/details/log_msg_buffer.h"
|
#include "spdlog/details/log_msg_buffer.h"
|
||||||
#include "spdlog/details/circular_q.h"
|
#include "spdlog/details/circular_q.h"
|
||||||
|
|
||||||
|
#include <atomic>
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
|
#include <functional>
|
||||||
|
|
||||||
|
|
||||||
// Store log messages in circular buffer.
|
// Store log messages in circular buffer.
|
||||||
// Useful for storing debug data in case of error/warning happens.
|
// Useful for storing debug data in case of error/warning happens.
|
||||||
@ -25,6 +29,7 @@ public:
|
|||||||
|
|
||||||
backtracer(backtracer &&other) SPDLOG_NOEXCEPT;
|
backtracer(backtracer &&other) SPDLOG_NOEXCEPT;
|
||||||
backtracer &operator=(backtracer other);
|
backtracer &operator=(backtracer other);
|
||||||
|
|
||||||
void enable(size_t size);
|
void enable(size_t size);
|
||||||
void disable();
|
void disable();
|
||||||
bool enabled() const;
|
bool enabled() const;
|
||||||
|
Loading…
Reference in New Issue
Block a user