Commit Graph

229 Commits (d8f13cbd5bea70f20da22d984bdba93766998a0f)

Author SHA1 Message Date
gabime 7a3a560c44 Merge v1.x
6 years ago
David Zemon 8dd85285e7 Allow user to choose between static or shared library
6 years ago
gabime 8b244ca988 Moved format.cpp into spdlog.cpp - this way only one src file is needed
7 years ago
gabime bb3dc87953 Fixed include order and example
7 years ago
gabime 6bcb422c80 clang format and SPLDOG_HEADER_ONLY macro
7 years ago
gabime 540f865355 Normalized copyright message
7 years ago
gabime 46ef71e3ec Normalized copyright message
7 years ago
Philip Salzmann 5e856c6b4d Add mode enum to control output of color sinks
7 years ago
gabime 1ac6c9f9c2 clang-format static-lib
7 years ago
gabime 69fcaf14e5 wip static-lib
7 years ago
gabime 2de924a187 clang-format
7 years ago
gabime c1c2ff2d07 wip
7 years ago
gabime 215b6aea95 file_helper.cpp and filename_t fix
7 years ago
gabime 96b7214ae2 fix common.h
7 years ago
gabime 97f9cc4bc0 some cleanup
7 years ago
gabime 7ab6fd9db6 source_loc change line to int
7 years ago
gabime d12a858897 some cleanup
7 years ago
gabime 17f9cdd401 static lib wip
7 years ago
gabime e2e3df9013 static lib wip
7 years ago
gabime 6b0bf33f8e clang-format
7 years ago
Mattias Fornander 0ccbdcdd1f Add tweak support for user short level names
7 years ago
charles-david 20a0f82701 Renamed input parameters to "params_in".
7 years ago
charles-david 0f128fd561 Warning for shadowed parameter corrected in common.h
7 years ago
gabime 57c3023881 Moved SPDLOG_FUNCTION define to common.h
7 years ago
gabime 6b4fea39ab clang-format
7 years ago
possiblyhuman 2124b7bf64 Allow filename/line number at all levels. Add function name %! support.
7 years ago
gabime 0203a0fdaf Fixed issue #948
7 years ago
gabime 3da189f7c0 SPDLOG_TRACE to check log level before calling the logger
7 years ago
gabime ec3f2b76b0 Strip path from __FILE__ in SPDLOG_TRACE macros
7 years ago
gabime f0c962d274 source_loc ctor: brace init members
7 years ago
David P. Sicilia a6152ebadd Make an implicit cast from int --> uint32_t explicit.
7 years ago
gabime 92921f767e clang-format
7 years ago
gabime 0ce670e45a Store level names as string_views
7 years ago
gabime a16ff07a06 Show source location if present in default formatter
7 years ago
gabime dc13700094 Fixed source location and make SPDLOG_TRACE: that only one that inject source location info.
7 years ago
gabime 9484c4dc05 clang-format
7 years ago
gabime 521b0733d4 Support for source location in async loggers
7 years ago
gabime a463989278 keep clang-tidy happy
7 years ago
gabime a31719b546 clang-format
7 years ago
gabime f2305fe5bf Support for source file/line logging
7 years ago
gabime b522413085 Replaced SPDLOG_DISABLE_TID_CACHING with SPDLOG_NO_TLS
7 years ago
gabime 0e77c3391b New compile time API using SPDLOG_ACTIVE_LEVEL
7 years ago
gabime 6fedffe6d6 Moved the SPDLOG_CATCH_AND_HANDLE to logger_impl.h
7 years ago
gabime 392d126372 Renamed string_view_type -> string_view_t
7 years ago
gabime 894438d5fb Better support for string_view
7 years ago
gabime f4c5c5a367 Replaced noexcept with SPDLOG_NOEXCEPT
7 years ago
gabime 2a7b995723 Added noexcept some function in common.h
7 years ago
gabime 7af3f014af Fixed clang-tidy warning
7 years ago
gabime a8c4aef6bd fix typo
7 years ago
gabime 669a66f18a format
7 years ago
gabime e8dae26176 Moved spdlog::make_unique to spdlog::details::make_unique and prevent T to be array
7 years ago
gabime 65defd3806 Replaced SPDLOG_FINAL macro with final
7 years ago
gabime ebce97947d use make_unique
7 years ago
gabime b962fbb15c Fixed issue #797
7 years ago
gabime 05d6960ebc code formatting and clang tidy warnings fixes
7 years ago
gabime 74c10df169 Changed SPDLOG_VERSION to be numeric
7 years ago
gabime 9e4925eff0 clang format
7 years ago
gabime 9cbdd5ffd4 Added async_nonblocking factory
7 years ago
gabime 3aaefc48ec Minor cleaning of common.h
7 years ago
gabime 0a3c81826f Changed some functions to accept strings instead of ref to strings for better semantics
7 years ago
gabime 81f29a9a7a Fixed wchar support in messages
7 years ago
Gabi Melman 99cc35384b
Update common.h
7 years ago
gabime 887326e715 minor code cleanup
7 years ago
gabime 7ed8e1b59d renamed async block policy
7 years ago
gabime 95de24e4f6 fixed tests and renamed to_short_str
7 years ago
gabime 1d9e2304be renamed level::to_str() to level::to_c_str()
7 years ago
gabime 94a7152afc async queue - overrun oldsest policy option
7 years ago
gabime 0c19bdd772 pattern per sink and pattern caching
7 years ago
Gabi Melman 58e09dbd33
Update common.h
7 years ago
Gabi Melman e770673f11
Update common.h
7 years ago
gabime 6d5670fde7 format
7 years ago
gabime 5683c06d9a solve issue #724
7 years ago
gabime 65506136e2 solve issue #724
7 years ago
gabime cdbf2e361b Upgrade to fmt 5.x
7 years ago
gabime 378c7789ba Fixed issue #720
7 years ago
gabime a21594bec7 move underscores to the end of private members
7 years ago
gabime 7f6220d960 increase errno string buffer size
7 years ago
gabime 38b3ecb02e use fmt::safe_strerror
7 years ago
gabime 0d7a1d1ef9 format
7 years ago
gabime 8901cbffe0 added catch macro and fixed some tests
7 years ago
gabime caa26a2a47 Normalized spdlog include paths
8 years ago
gabime 56e4a201ec formatting
8 years ago
Gabi Melman 650daf7542
Update common.h
8 years ago
gabime ad221b0990 Changed function name to level::from_str
8 years ago
gabime 461b5ef28a Fixed missing ;
8 years ago
gabime 7f1f7b6232 Changed function name to level::from_str
8 years ago
fegomes 46f9768599 change of scope the name_to_level variable
8 years ago
fegomes c21dd874d1 removed class to return size of array.
8 years ago
fegomes 48c8755d06 include test to convert functions and change suggested by @gabime
8 years ago
fegomes f9750dddee Merge branch 'master' into to_level
8 years ago
Daniel Chabrowski 0c94ce0039 deleted copy op and a little format
8 years ago
Daniel Chabrowski ad624432d8 google-explicit-constructor
8 years ago
Daniel Chabrowski fb6df0512f modernize-use-override
8 years ago
Daniel Chabrowski 7f4c1bb77c modernize-use-using
8 years ago
gabime 04d0dd5987 moved SPDLOG_VERSION macro to common.h
8 years ago
gabime 051048ebd7 Fixed issue #645 (include tweakme.h from common.h)
8 years ago
Fernando Gomes f4ffddc942
Merge branch 'master' into to_level
8 years ago
gabime 5ab033fba5 Fix issue #629
8 years ago
fegomes 8696ad8739 new function to convert level_enum from string
8 years ago
gabime adbc22096a enable final keyword by default. Can be disabled in tweakme.h for older compilers
8 years ago