Commit Graph

61 Commits (eacfe072a1c48ed0089b6b4b1d501b8b0f965070)

Author SHA1 Message Date
gabime eacfe072a1 WIP 5 years ago
gabime c16eb80d7f Fixed multiple clang-tidy warnings 6 years ago
Cristian Morales Vega 7cdd65075c "#include" <spdlog/.*> instead of "spdlog/.*"
The meaning of using quotes to #include is implementation defined, so it
may or not may be what we want. At least POSIX
(https://pubs.opengroup.org/onlinepubs/9699919799/utilities/c99.html)
says: "headers whose names are enclosed in double-quotes ( "" ) shall be
searched for first in the directory of the file with the #include line",
so not what we want since "spdlog" ends up twice in the path.
6 years ago
gabime a7ba6e447d clang-format 6 years ago
gabime baa978ab0b Added stdout_sinks.h to the library build 6 years ago
gabime f5831d5132 clang-format 6 years ago
gabime 6e83abdbf2 Removed stdout_sinks from spdlog.cpp for faster library compile time 6 years ago
gabime 29f2eeea31 Removed formatter_ member from the sink interface 6 years ago
DanielChabrowski 59746c2e36 Fix use of incomplete type in stdout sinks 6 years ago
gabime ab9e1b3aa7 Removed unneeded includes 6 years ago
gabime 1d86803e38 Fix #1116 6 years ago
gabime bcfa9241b8 Updated copyright headers 6 years ago
gabime eea9d6136f Moved default sync factory to seperate file to avoid cyclic includes 6 years ago
gabime 78eeba940a Fix issue #114 6 years ago
gabime d5c9bac3c7 wip static-lib 6 years ago
gabime 6bcb422c80 clang format and SPLDOG_HEADER_ONLY macro 6 years ago
gabime 46ef71e3ec Normalized copyright message 6 years ago
gabime 23fdc0eae4 Fixed issue #959 7 years ago
gabime b368d18b0f Added default logger API 7 years ago
gabime 27a03c5cec Replaced SPDLOG_FINAL macro with final 7 years ago
Gabi Melman 2870afdeae
Update stdout_sinks.h 7 years ago
gabime 05d6960ebc code formatting and clang tidy warnings fixes 7 years ago
gabime c2a49080aa Refactored sink interface and base_sink 7 years ago
gabime 9dc44c39e7 Fixed bugs in stdout_sinks and in msvc 7 years ago
gabime a21594bec7 move underscores to the end of private members 7 years ago
gabime caa26a2a47 Normalized spdlog include paths 7 years ago
gabime 110bdd93c8 Fixed stdout_sinks 7 years ago
gabime c962c88342 Fixed linux port of v1.x 7 years ago
gabime e4d3eb64e6 Udpated example and spdlog.h 7 years ago
gabime 924ef84241 Refactred spdlog.h and console sinks. Added global lock for all console sinks (traits) 8 years ago
gabime 6f4cd8d397 thread_pool and refactoring async 8 years ago
gabime 56e4a201ec formatting 8 years ago
gabime 4445f6f869 formatting 8 years ago
gabime 5afb5dc782 Changed clang formatting for templates 8 years ago
gabime a2653d409f clang-format 8 years ago
Daniel Chabrowski 1e1ca23101 modernize-use-equals-default 8 years ago
Daniel Chabrowski fb6df0512f modernize-use-override 8 years ago
Daniel Chabrowski 7f4c1bb77c modernize-use-using 8 years ago
daylanKifky 27e7412640 modified path on quoted #includes
Paths pointing to the root of the library where replaced for ones relatives to each file.

For example, inside /include/spdlog/details/file_helper.h:

This will look for os.h in /include/spdlog/details/spdlog/details/ which doesn't exists.

replaced with:
8 years ago
Tennn f8d509d010 Fixed issues 449
Please check it
8 years ago
gabime d56fa23eb9 fixed compilation errors 8 years ago
gabime 095cb1f560 Added _flush() to base_sink 8 years ago
Jean-Michaël Celerier 53138c20fb Add an optional final qualifier to types
When building with GCC's -Wfinal-types, a lot of types of spdlog
are marked as being more optimizable if they were marked final.

This patch adds a possibility for the user of the library to `#define SPDLOG_FINAL final`
and enjoy potentially better performance : GCC is then able to replace virtual calls by true
function calls if it can ensure that there are no derived types).

By default SPDLOG_FINAL is defined to nothing to not break existing code that
may be inheriting of some of these types for some reason.
8 years ago
gabime f14d1c002b astyle 9 years ago
gabime 0cfdad4d0b Windows console color support. Replaced color param in API with new functions 9 years ago
Kevin M. Godby cb3b7728a1 Fix missing include detected by new header dependency tests. 9 years ago
Gabi Melman 6d5bce46f8 Revert "CMake script improvements" 9 years ago
Kevin M. Godby e10a2fca65 Added missing base_sink.h include. 9 years ago
gabime 0d26359856 astyle 10 years ago
Anton Goryunov ba68a2d05d - std::cout replaced with fwrite to stdout in console sink 10 years ago