Commit Graph

78 Commits (d2979c82d9230574cf80e69116c9c8f5138a8856)

Author SHA1 Message Date
lilinxiong d2979c82d9 [feature] Support dynamic tag setting in android.
[change] Modify the Android example, and other examples fail to run error.
4 years ago
Martin Vejdarski 0ca2cb625e Add shared library support for Windows 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 ed8d099607 Fixed #1197 6 years ago
gabime c97c025adb clang-format 6 years ago
gabime 408a162044 Removed logger::clone() from API 6 years ago
gabime 04a8485b17 Replaced backtace implementation 6 years ago
gabime 292fc153ef clang-format 6 years ago
gabime eec6e28b19 Async logger cleanup 6 years ago
gabime f3e379cf78 Fixed async dump_backtrace 6 years ago
gabime 0284a23d0a Changed sink_it_ to accept const log_message& 6 years ago
k0zmo 789fb1e7c9 Move templated constructor definition to header file 6 years ago
gabime bcfa9241b8 Updated copyright headers 6 years ago
gabime 6bcb422c80 clang format and SPLDOG_HEADER_ONLY macro 6 years ago
gabime 46ef71e3ec Normalized copyright message 6 years ago
gabime 005450ff13 wip 6 years ago
gabime 9564eb2edb Moved cpp files to inl.h 6 years ago
gabime 69fcaf14e5 wip static-lib 6 years ago
gabime 2de924a187 clang-format 6 years ago
gabime c1c2ff2d07 wip 6 years ago
gabime baefe0b3f6 wip 6 years ago
gabime 36112371c0 Reverted const qualifier to log_msg& args, fixed issue #849, and added counter tests 7 years ago
gabime 102c31a04c Accecpt iterators by value in logger ctor insted of ref 7 years ago
gabime a06d32ae19 Fixed clang-tidy warnings 7 years ago
gabime 14c0417f3e Fixed clang-tidy warning 7 years ago
gabime 65defd3806 Replaced SPDLOG_FINAL macro with final 7 years ago
gabime 91d8869f36 Added "clone()" support to loggers 7 years ago
gabime 05d6960ebc code formatting and clang tidy warnings fixes 7 years ago
gabime 9e4925eff0 clang format 7 years ago
gabime 9cbdd5ffd4 Added async_nonblocking factory 7 years ago
gabime b710e0fe86 Changed some functions to accept strings instead of ref to strings for better semantics 7 years ago
gabime c2a49080aa Refactored sink interface and base_sink 7 years ago
gabime 7ed8e1b59d renamed async block policy 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 c50ba69689 removed un needed includes 8 years ago
gabime 6f4cd8d397 thread_pool and refactoring async 8 years ago
gabime 5afb5dc782 Changed clang formatting for templates 8 years ago
gabime a2653d409f clang-format 8 years ago
gabime 84d3c90b93 Fixed g++ 4.9 warnings after the clang-tidy fixes 8 years ago
Daniel Chabrowski 0c94ce0039 deleted copy op and a little format 8 years ago
Daniel Chabrowski af50d5ef1f readability-inconsistent-declaration-parameter-name 8 years ago
Daniel Chabrowski fb6df0512f modernize-use-override 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
odeits 82404f6f65 fix typo potentialy to potentially 9 years ago
gabime 0c276beaaf astyle 9 years ago