Commit Graph

40 Commits (292c808d141cf7adc9f2353aad3a3ca4b5db4d01)

Author SHA1 Message Date
gabime 5559847331 Removed unused include 1 year ago
gabime 24fe442d03 Use relative includes and create spdlog_config.h 2 years ago
gabime a3934472c9 Relative include paths in headers 2 years ago
gabime 6dffd7c6e8 update clang format again 2 years ago
gabime 6de0ffa15f Updated clang format to google style 2 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 f5492aed12 Unified usage of fmt::memory_buffer across the codebase 6 years ago
gabime bcfa9241b8 Updated copyright headers 6 years ago
gabime 46ef71e3ec Normalized copyright message 6 years ago
gabime 33329c80a9 code formatting 7 years ago
gabime 693103af9c support set_formatter in spdlog.h 7 years ago
gabime 9dc44c39e7 Fixed bugs in stdout_sinks and in msvc 7 years ago
gabime b4349e4226 pre allocate async q memory 7 years ago
gabime 92e2cef67f remove unneeded includes from file 7 years ago
gabime a6e2f23780 Pattern formatter optimizations 7 years ago
gabime 0c19bdd772 pattern per sink and pattern caching 7 years ago
gabime 15f3b0fea5 format 7 years ago
gabime a21594bec7 move underscores to the end of private members 7 years ago
gabime 5ec37c05f7 Normalized spdlog include paths 7 years ago
gabime a2653d409f clang-format 8 years ago
Daniel Chabrowski 9ce66f2c9a modernize-pass-by-value 8 years ago
Daniel Chabrowski fb6df0512f modernize-use-override 8 years ago
gabime 7709fc70eb small fix to pattern_formatter ctor 8 years ago
Emad William Farag 55680db160 Support for custom EOL per formatter 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
ThePhD d98d54896b use if statement instead of switch (changes of adding new time specifications outside of standard are probably unlikely anyhow)
pattern_time -> pattern_time_type
ptime variable name -> pattern_time variable name
make sure four spaces used, not tabs
8 years ago
ThePhD 5c5080d304 implement a flag (in this case, an enumeration) that allows control over the type; we make it an enum for possible expansions of time abstractions that might make it into the C++ standard in the future (see Howard Hinnant's date/timezone library) or might be usefully-available from the OS at some point in time 8 years ago
Tennn f8d509d010 Fixed issues 449
Please check it
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 0d26359856 astyle 9 years ago
gabime 495ecaeaee astyle 10 years ago
Kevin M. Godby 077c3095eb Added missing standard header includes. 10 years ago
Kevin M. Godby 196689f720 Fixed header include problems. 10 years ago
gabime 8c38b4ee9e MIT license 10 years ago
gabime 40a55b8e34 astyle 11 years ago
gabime d163b8c45a astyle 11 years ago
gabi 0c6518961d Fix level 4 warnings under VS 11 years ago
gabime 74aae4f368 readme 11 years ago
gabime e8403e17df astyle 11 years ago
gabi c7b8c762fb spdlog 11 years ago