|
|
@ -23,7 +23,12 @@ SPDLOG_INLINE logger::logger(const logger &other)
|
|
|
|
, flush_level_(other.flush_level_.load(std::memory_order_relaxed))
|
|
|
|
, flush_level_(other.flush_level_.load(std::memory_order_relaxed))
|
|
|
|
, custom_err_handler_(other.custom_err_handler_)
|
|
|
|
, custom_err_handler_(other.custom_err_handler_)
|
|
|
|
, tracer_(other.tracer_)
|
|
|
|
, tracer_(other.tracer_)
|
|
|
|
{}
|
|
|
|
{
|
|
|
|
|
|
|
|
if(other.tracer_)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
enable_backtrace(other.tracer_->n_messages());
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
SPDLOG_INLINE logger::logger(logger &&other) SPDLOG_NOEXCEPT : name_(std::move(other.name_)),
|
|
|
|
SPDLOG_INLINE logger::logger(logger &&other) SPDLOG_NOEXCEPT : name_(std::move(other.name_)),
|
|
|
|
sinks_(std::move(other.sinks_)),
|
|
|
|
sinks_(std::move(other.sinks_)),
|
|
|
|