spdlog/include/spdlog
Dave Rigby 2a4c34b878 Allow forward-declaration of level_enum
spdlog::level::level_enum cannot be forward-declared at present, as
the definition does not specify an underlying type.

To allow users to make use of <spdlog/fwd.h> to refer to
level::level_enum without pulling in all of <spdlog/common.h> (which
can be quite costly), specify an underlying type (int) for
level::level_enum, then add a forward-declaration for it to
spdlog/fwd.h.

Note this required explicitly casting level_enum to size_t within ansicolor_sink due to sign-conversion errors:

    implicit conversion changes signedness: 'const level::level_enum' to 'std::__1::array::size_type' (aka 'unsigned long') [-Wsign-conversion]

It would appear that an enum with an unspecified underlying type is in
some kind of superposition - it can be treated as both signed _and_
unsigned - using an underlying type of 'unsigned int' triggers even
more warnings of this kind...
2022-01-11 15:12:23 +00:00
..
cfg clang-format 2021-07-19 00:50:51 +03:00
details 🔥 conditional_cast 2021-12-19 21:37:21 +04:00
fmt spdlog: fmt - support std::span in to_hex 2021-12-30 09:46:27 +08:00
sinks Allow forward-declaration of level_enum 2022-01-11 15:12:23 +00:00
async_logger-inl.h Switch additional information to source location of bad log message 2021-08-17 15:26:59 +02:00
async_logger.h clang-format 2021-07-19 00:50:51 +03:00
async.h Added missing global thread-pool initialization helper. 2021-12-11 16:35:58 +02:00
common-inl.h Support C++20 std::format as an alternative to fmtlib 2021-11-13 11:29:05 -05:00
common.h Allow forward-declaration of level_enum 2022-01-11 15:12:23 +00:00
formatter.h "#include" <spdlog/.*> instead of "spdlog/.*" 2019-11-06 19:15:29 +00:00
fwd.h Allow forward-declaration of level_enum 2022-01-11 15:12:23 +00:00
logger-inl.h Switch additional information to source location of bad log message 2021-08-17 15:26:59 +02:00
logger.h clang-format 2021-11-16 23:44:35 +02:00
pattern_formatter-inl.h clang-format 2021-07-19 00:50:51 +03:00
pattern_formatter.h minor changes added const ref params 2021-12-11 16:09:19 +02:00
spdlog-inl.h clang-format 2021-07-19 00:50:51 +03:00
spdlog.h clang-format 2021-11-16 23:44:35 +02:00
stopwatch.h clang-format 2021-11-16 23:44:35 +02:00
tweakme.h Fix(tweakme): Typo 2021-11-19 09:32:59 +03:30
version.h Bump version to 1.9.2 2021-08-12 14:10:50 +03:00