Commit Graph

222 Commits (8841b7e2d516bcec7a6a27df62952960277488e2)

Author SHA1 Message Date
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
gabime 7f81eb881d small cleanup 11 years ago
gabime 74aae4f368 readme 11 years ago
gabi 567e85e6d4 bench 11 years ago
gabi 31971bf63b updated example and added more creation functions 11 years ago
gabi c7b8c762fb spdlog 11 years ago