mirror of
https://github.com/gabime/spdlog.git
synced 2025-04-01 02:42:41 +08:00
Removed fmt wrapper files
This commit is contained in:
parent
45b100c677
commit
a3e05332b0
@ -199,13 +199,7 @@ set(SPDLOG_HEADERS
|
||||
"include/spdlog/details/udp_client.h"
|
||||
"include/spdlog/details/windows_include.h"
|
||||
"include/spdlog/fmt/bin_to_hex.h"
|
||||
"include/spdlog/fmt/chrono.h"
|
||||
"include/spdlog/fmt/compile.h"
|
||||
"include/spdlog/fmt/fmt.h"
|
||||
"include/spdlog/fmt/ostr.h"
|
||||
"include/spdlog/fmt/ranges.h"
|
||||
"include/spdlog/fmt/std.h"
|
||||
"include/spdlog/fmt/xchar.h"
|
||||
"include/spdlog/sinks/android_sink.h"
|
||||
"include/spdlog/sinks/ansicolor_sink.h"
|
||||
"include/spdlog/sinks/base_sink.h"
|
||||
|
@ -194,7 +194,7 @@ void binary_example() {
|
||||
|
||||
// Log a vector of numbers
|
||||
#ifndef SPDLOG_USE_STD_FORMAT
|
||||
#include "spdlog/fmt/ranges.h"
|
||||
#include "fmt/ranges.h"
|
||||
void vector_example() {
|
||||
std::vector<int> vec = {1, 2, 3};
|
||||
spdlog::info("Vector example: {}", vec);
|
||||
|
@ -1,14 +0,0 @@
|
||||
//
|
||||
// Copyright(c) 2016 Gabi Melman.
|
||||
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
|
||||
//
|
||||
|
||||
#pragma once
|
||||
//
|
||||
// include bundled or external copy of fmtlib's chrono support
|
||||
//
|
||||
#include <spdlog/tweakme.h>
|
||||
|
||||
#if !defined(SPDLOG_USE_STD_FORMAT)
|
||||
#include <fmt/chrono.h>
|
||||
#endif
|
@ -1,14 +0,0 @@
|
||||
//
|
||||
// Copyright(c) 2016 Gabi Melman.
|
||||
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
|
||||
//
|
||||
|
||||
#pragma once
|
||||
//
|
||||
// include bundled or external copy of fmtlib's compile-time support
|
||||
//
|
||||
#include <spdlog/tweakme.h>
|
||||
|
||||
#if !defined(SPDLOG_USE_STD_FORMAT)
|
||||
#include <fmt/compile.h>
|
||||
#endif
|
@ -14,6 +14,5 @@
|
||||
#if defined(SPDLOG_USE_STD_FORMAT) // use std::format
|
||||
#include <format>
|
||||
#else
|
||||
#include <fmt/core.h>
|
||||
#include <fmt/format.h>
|
||||
#include "fmt/format.h"
|
||||
#endif
|
||||
|
@ -1,14 +0,0 @@
|
||||
//
|
||||
// Copyright(c) 2016 Gabi Melman.
|
||||
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
|
||||
//
|
||||
|
||||
#pragma once
|
||||
//
|
||||
// include bundled or external copy of fmtlib's ostream support
|
||||
//
|
||||
#include <spdlog/tweakme.h>
|
||||
|
||||
#if !defined(SPDLOG_USE_STD_FORMAT)
|
||||
#include <fmt/ostream.h>
|
||||
#endif
|
@ -1,14 +0,0 @@
|
||||
//
|
||||
// Copyright(c) 2016 Gabi Melman.
|
||||
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
|
||||
//
|
||||
|
||||
#pragma once
|
||||
//
|
||||
// include bundled or external copy of fmtlib's ranges support
|
||||
//
|
||||
#include <spdlog/tweakme.h>
|
||||
|
||||
#if !defined(SPDLOG_USE_STD_FORMAT)
|
||||
#include <fmt/ranges.h>
|
||||
#endif
|
@ -1,15 +0,0 @@
|
||||
//
|
||||
// Copyright(c) 2016 Gabi Melman.
|
||||
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
|
||||
//
|
||||
|
||||
#pragma once
|
||||
//
|
||||
// include bundled or external copy of fmtlib's std support (for formatting e.g.
|
||||
// std::filesystem::path, std::thread::id, std::monostate, std::variant, ...)
|
||||
//
|
||||
#include <spdlog/tweakme.h>
|
||||
|
||||
#if !defined(SPDLOG_USE_STD_FORMAT)
|
||||
#include <fmt/std.h>
|
||||
#endif
|
@ -1,14 +0,0 @@
|
||||
//
|
||||
// Copyright(c) 2016 Gabi Melman.
|
||||
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
|
||||
//
|
||||
|
||||
#pragma once
|
||||
//
|
||||
// include bundled or external copy of fmtlib's xchar support
|
||||
//
|
||||
#include <spdlog/tweakme.h>
|
||||
|
||||
#if !defined(SPDLOG_USE_STD_FORMAT)
|
||||
#include <fmt/xchar.h>
|
||||
#endif
|
@ -16,8 +16,7 @@
|
||||
#include "../details/null_mutex.h"
|
||||
#include "../details/os.h"
|
||||
#include "../details/synchronous_factory.h"
|
||||
#include "../fmt/chrono.h"
|
||||
#include "../fmt/fmt.h"
|
||||
#include "fmt/chrono.h"
|
||||
#include "base_sink.h"
|
||||
|
||||
namespace spdlog {
|
||||
|
@ -11,7 +11,7 @@
|
||||
#include "spdlog/common.h"
|
||||
#include "spdlog/details/file_helper.h"
|
||||
#include "spdlog/details/os.h"
|
||||
#include "spdlog/fmt/fmt.h"
|
||||
//#include "spdlog/fmt/fmt.h"
|
||||
|
||||
namespace spdlog {
|
||||
namespace sinks {
|
||||
|
Loading…
Reference in New Issue
Block a user