spdlog.cpp 1022 Bytes
Newer Older
gabime's avatar
gabime committed
1
// Copyright(c) 2015-present, Gabi Melman & spdlog contributors.
gabime's avatar
gabime committed
2
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
3

4 5
#ifndef SPDLOG_COMPILED_LIB
#error Please define SPDLOG_COMPILED_LIB to compile this file.
6
#endif
gabime's avatar
gabime committed
7

gabime's avatar
gabime committed
8
#include "spdlog/spdlog-inl.h"
gabime's avatar
gabime committed
9
#include "spdlog/common-inl.h"
gabime's avatar
gabime committed
10
#include "spdlog/details/backtracer-inl.h"
gabime's avatar
gabime committed
11 12 13
#include "spdlog/details/registry-inl.h"
#include "spdlog/details/os-inl.h"
#include "spdlog/details/pattern_formatter-inl.h"
14
#include "spdlog/details/log_msg-inl.h"
15
#include "spdlog/details/log_msg_buffer-inl.h"
16 17
#include "spdlog/logger-inl.h"
#include "spdlog/sinks/sink-inl.h"
18 19 20 21 22
#include "spdlog/sinks/base_sink-inl.h"
#include "spdlog/details/null_mutex.h"

#include <mutex>

Gabi Melman's avatar
Gabi Melman committed
23
// template instantiate logger constructor with sinks init list
24
template spdlog::logger::logger(std::string name, sinks_init_list::iterator begin, sinks_init_list::iterator end);
25
template class spdlog::sinks::base_sink<std::mutex>;
26
template class spdlog::sinks::base_sink<spdlog::details::null_mutex>;