Commit Graph

222 Commits (1245bf8e8a19d914271df03124da9593f3634a9c)

Author SHA1 Message Date
gabime c09dee7717 Moved source filename shortening to pattern formatter instead of macro 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 d5c9bac3c7 wip static-lib 6 years ago
gabime 46ef71e3ec Normalized copyright message 6 years ago
gabime 2de924a187 clang-format 6 years ago
gabime 96b7214ae2 fix common.h 6 years ago
gabime c69c49047b wip static lib 6 years ago
gabime 17f9cdd401 static lib wip 6 years ago
Daniel Binsmaier 631416d54a Fix missing ';' in log macros 6 years ago
Daniel Binsmaier d366a06461 Fix unexpected log macro expansion 6 years ago
gabime 90c912a5e2 wip lite 7 years ago
gabime 9219613957 Dont check level in macros (redundant) 7 years ago
tt4g eb478e38b2 Add spdlog::initialize_logger 7 years ago
gabime 57c3023881 Moved SPDLOG_FUNCTION define to common.h 7 years ago
gabime 4408e079ff Refactored log macros 7 years ago
gabime 2991057aef Add check log level before evaluating the logging macros 7 years ago
gabime 6b4fea39ab clang-format 7 years ago
possiblyhuman 32420b77c8 Reduced amount of macros used.
Removed SPDLOG_SOURCE_MACROS_ON and SPDLOG_FUNCTION_SUFFIX.
7 years ago
possiblyhuman 2124b7bf64 Allow filename/line number at all levels. Add function name %! support. 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 cff78f5833 Move logging macros outside the spdlog namespace 7 years ago
gabime 01583ef540 Clean macros 7 years ago
gabime dc13700094 Fixed source location and make SPDLOG_TRACE: that only one that inject source location info. 7 years ago
gabime a31719b546 clang-format 7 years ago
gabime f2305fe5bf Support for source file/line logging 7 years ago
gabime 50648553cf clang-format 7 years ago
gabime 0a8cce6984 comments 7 years ago
gabime c5069135d7 Improved compile time level support 7 years ago
gabime 0e77c3391b New compile time API using SPDLOG_ACTIVE_LEVEL 7 years ago
Pablo Arias fbc58ebef8 * using API call instead of macro for toggling automatic registration
* added unit test for disabling automatic registration
7 years ago
Pablo Arias f95b189fe3 Added a global option in tweakme.h that disabled global registration of
loggers. fixes #712
7 years ago
gabime f2f9f324ec Updated default API impl and tests 7 years ago
gabime b368d18b0f Added default logger API 7 years ago
gabime 53ac379bc5 Removed extra whitespace from SDPLOG_TRACE message 7 years ago
gabime 05d6960ebc code formatting and clang tidy warnings fixes 7 years ago
gabime 2894e8de5e clang format 7 years ago
gabime 0b7c505b50 Fixed forgotten inline keyword 7 years ago
gabime cb9c984aa7 registery and periodic flusher fixes. 7 years ago
gabime 33329c80a9 code formatting 7 years ago
gabime 693103af9c support set_formatter in spdlog.h 7 years ago
gabime 9e4925eff0 clang format 7 years ago
gabime a96b4d7529 Added periodic flusher support, and fixed some registry issues 7 years ago
gabime 6225a9fa4f Minor cleaning of spdlog.h 7 years ago
gabime 9df2bd256e Changed some functions to accept strings instead of ref to strings for better semantics 7 years ago
gabime c9331594bb Renamed file to pattern_forammter.h and fixed utc support 7 years ago
gabime cd4dcbab36 Renamed simple_file_sink -> basic_file_sink 7 years ago
gabime 0c19bdd772 pattern per sink and pattern caching 7 years ago
gabime caa26a2a47 Normalized spdlog include paths 7 years ago
gabime 3e28d9ab5a Renamed default factory 7 years ago
gabime b3a23039b1 Renamed default factory 7 years ago
gabime c962c88342 Fixed linux port of v1.x 7 years ago
gabime c80cc3306f Fixed tests 7 years ago
gabime e4d3eb64e6 Udpated example and spdlog.h 7 years ago
gabime 0969118ce7 added default_factory alias 7 years ago
gabime ba7c4c0530 stdout and color logger factories 7 years ago
gabime 924ef84241 Refactred spdlog.h and console sinks. Added global lock for all console sinks (traits) 7 years ago
gabime 6f4cd8d397 thread_pool and refactoring async 7 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 5355bd3a8f readability-named-parameter 8 years ago
Daniel Chabrowski 0c94ce0039 deleted copy op and a little format 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
gabime ccd675a286 version 0.16.3 8 years ago
Gabi Melman 32177aa77a
Merge pull request #604 from sam-lunt/improve-macros
Ensure marcos always expand to expressions
8 years ago
Sam Lunt 9f8413308a add global flush_on function 8 years ago
Sam Lunt f25f0e0e40 add (void)0 when logging is disabled 8 years ago
gabime 813dcbcf63 version 0.16.2 8 years ago
Gabi Melman 79a3a633c7
uupdate version to 0.16.1 8 years ago
Ľubomír Carik dda8af0092 Update version strings to 0.16.0
Signed-off-by: Ľubomír Carik <Lubomir.Carik@anritsu.com>
8 years ago
gabime 6dd928dc3c Undo fix #529 (causes a warning under gcc and clang when no args passed) 8 years ago
gabime de595fe2b7 Fix #529 (SPDLOG_TRACE macro problem) 8 years ago
Alexandr Dubovikov bec6919587 added facilty for syslog 8 years ago
gabime dcc7b347ca Removed all *_if functions (trace_if, debug_if, info_if,..) because they are redundant and confusing way to preform if 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
gabime 93be7713e0 astyle 8 years ago
Berkus Decker a6b5ef55a4 Fix typo 8 years ago
gabime 21ed31844c fixed bug in SPDLOG_TRACE_IF macro and added some related tests 8 years ago
El El b242fb087d Compiler-dependent line numbering 8 years ago
Gabi Melman 4fba14c79f Version 0.14.0 8 years ago
gabime cb02b344a3 Fix issue #510 (spelling) 8 years ago
Matt Crane 13a938fc7f Added TRACE_IF and DEBUG_IF macro definitions when TRACE_ON and DEBUG_ON aren't defined 8 years ago
Asit Kumar Dhal 97be4532cc trace_if and debug_if macro added 8 years ago
Carsten Neumann 8ee90d3349 Add create_async factory functions for async loggers 8 years ago
Tennn f8d509d010 Fixed issues 449
Please check it
8 years ago
gabime f85a08622e version 0.13.0 9 years ago
Ľubomír Carik fd8df5b820 Don't hardcode '.txt.' log file name suffix (resolve #333)
Signed-off-by: Ľubomír Carik <Lubomir.Carik@gmail.com>
9 years ago
gabime 93d84e5d59 v0.12.0 9 years ago
Gabi Melman 054eb555ca Moved `SPDLOG_VERSION` macro to spdlog.h 9 years ago
Gabi Melman 4f50c5d143 Update spdlog.h 9 years ago
gabime 0cfdad4d0b Windows console color support. Replaced color param in API with new functions 9 years ago
gabime 5653e5c9d7 astyle 9 years ago
Hugh Wang 72a6fd65da Support direct creation of android logger. 9 years ago
Gabi Melman c69df8ae44 Update spdlog.h 9 years ago
Gabi Melman b18d235b63 Update spdlog.h 9 years ago
gabime e562e001cf Removed force_flush arg from API (use flush_on(level) instead) 9 years ago
Sam Brkopac 0be736c7fc Added the ability to truncate the basic file logger.
Added the ability to truncate the basic file logger.
9 years ago