Commit Graph

155 Commits (6b4fea39ab424fd56bc37503256351e1c1ed3344)

Author SHA1 Message Date
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
Nazım Can Bedir 2678c37b56 Move syslog support tests to one place. 9 years ago
gabime 86de264da9 Added support for syslog in FreeBSD 9 years ago
gabime 4efbd950d6 atyle 9 years ago
gabime 3af247fbd3 Added a way to iterate all registered loggers (issues #238 and #259). 9 years ago
gabime 39cdd08a54 no exceptions while logging 9 years ago
gabime 8e0892fa31 astyle 9 years ago
gabime e5032c8db5 fixed SPDLOG_TRACE under gcc (isue #241) 9 years ago
gabime 7ddfb2b877 fixed macros and other stuff for the no-streams branch 9 years ago
gabime a047b58e65 Added "basic_logger_mt/basic_logger_st" to the API 9 years ago
Kevin M. Godby e16cb511e5 Create a logger with a single sink. 9 years ago
gabime 38c0ee018b astyle 9 years ago
gabime 80a432e646 cleaned common.h and moved some code around 9 years ago
Philippe Serreault ee815042dd In async mode, worker thread can now execute an optional teardown callback upon exit.
(Note: this can be helpful when a custom sink invokes a JNI callback, which implies that worker thread was previously attached to JVM, and needs to be cleanly detached upon exit)
9 years ago
gabime 0d26359856 astyle 9 years ago
gabime 19dae96985 wchar filenames support - minor improvements 10 years ago
unknown 113ebcfd97 Add the SPDLOG_USE_WCHAR tweak to enable support for Unicode names on Windows. Refs #111 10 years ago
gabime 495ecaeaee astyle 10 years ago
gabime 296623baa3 API for color support in console logger 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
Sebastian Messmer 7b8d507615 Allow syslog logger on Mac OS X 10 years ago
gabime 8c38b4ee9e MIT license 10 years ago
gabime 992a4e6077 revert Args& by referebce in create 10 years ago
gabime cbc8ba7203 Fixed issue #137 10 years ago
gabime cadd181d8d Reverted pull #111 - wchar support under windows - it pollutes global namespace with new defines 10 years ago
Artem Martynovich 2b59393bda Add wchar_t support for Windows. 10 years ago
Denis Ivaykin 432e1109dd flush interval part 2 10 years ago
gabime 256c64d72f Fixed registry functions 11 years ago
gabime 623f59ce6f Added register_logger to spdlog.h to register manually created loggers 11 years ago
gabime b715378ff5 Added tweakme.h - enable users to enable/disable features at compile time 11 years ago
gabime f21ec29ca9 fixed SPDLOG_ERROR macro 11 years ago
Gabi Melman 11d4ae7782 Update spdlog.h 11 years ago
Gabi Melman 9fc0ab31d5 Update spdlog.h
Update comments about macros
11 years ago
Gabi Melman d39b495e21 Update spdlog.h
Updated comments about macros
11 years ago
Ruslan Mullakhmetov 37541621b7 added convinient macroses passing logging points; replaced force_log to log for SPDLOG_TRACE SPDLOG_DEBUG 11 years ago
gabime c401e830d0 Added option for setting rotation time in daily file ctor 11 years ago
gabime fde3d2db99 astyle+comments 11 years ago
gabime 524ca93e91 Comments 11 years ago
Gabi Melman 6cd7b9a2b0 Comments 11 years ago
Gabi Melman 9e88e98d33 Comments 11 years ago
Gabi Melman fca8070019 Comments 11 years ago
Gabi Melman 665d82d354 Comments 11 years ago
gabi b74b28f5c6 added includes to common.h 11 years ago
gabime 9f34c58b3e comments 11 years ago
gabime 89afa909e1 shortened enum policy name and moved into common.h 11 years ago
Denis Ivaykin 295e189b7e astyle 11 years ago
Denis Ivaykin 365d895482 discard policies on queue overflow 11 years ago
Denis Ivaykin 384cdeb225 nullptr default, astyle 11 years ago
Denis Ivaykin d47fbbb79e worker warmup callback 11 years ago
gabi 7635455c8d Changed "auto_flush" to "force_flush" to better represent the meaning 11 years ago
gabi bf3997de28 Added drop_all 11 years ago
gabi 3c57133c7a Fixed bug #26 (SPDLOG_TRACE macro does not work as expected) 11 years ago
gabime 28da625a6f removed the confusing stop() function 11 years ago
gabime 92f2b7556e syslog improvments 11 years ago
Gabi Melman 3b61f50cbf Merge pull request #20 from fooinha/syslog-openlog
Syslog openlog
11 years ago
fooinha 375b88c191 Optional arguments for syslog_logger factory. 11 years ago
gabi 348390f90d Added debug macros 11 years ago
fooinha 8c9a6fc02c * openlog setup for syslog sink 11 years ago
gabi d37bded994 More improvements to the async logger 11 years ago
gabime 0db417f9af merged drop() from master 11 years ago
gabime 4e86da1bdb typo 11 years ago
gabime 68ee9a7ada replaced flush_interval with auto_flush boolean 11 years ago
gabi 4cb6aa90b2 New async_logger class and API 11 years ago
gabime ece27ac952 astyle 11 years ago
Arnaud Kapp 67eef26c26 Add a syslog() based sink for Linux.
This commit introduce a new sink: syslog_sink.
This sink is Linux only, and will write log entries to the system
logger, using the syslog() library call.

It is instanciable using spdlog::syslog_logger(name). Note that
the suffix _st or _mt is not present, as syslog() is thread-safe.

I also applied @gabime reviews and added license header.
11 years ago
gabime 5b04fb6850 Remove warning in debian about unused variadic template args 11 years ago
gabi 58688d7d1c Removed close() from sink to have RAII semantics 11 years ago