Commit Graph

452 Commits (70d2832c0de306abc86ca06b751a7ed5ac0e525d)

Author SHA1 Message Date
gabime 2894e8de5e clang format 7 years ago
gabime cb9c984aa7 registery and periodic flusher fixes. 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 41d248f442 Fixed Makefile.mingw example 7 years ago
gabime c832a39d44 fixed example msvc solution 7 years ago
gabime c2a49080aa Refactored sink interface and base_sink 7 years ago
gabime 97c201297f Udpated example 7 years ago
gabime f9019870da Merge branch 'v1.x' of https://github.com/gabime/spdlog into v1.x 7 years ago
gabime 1fd166d417 Updated example 7 years ago
gabime 3c40c5ca5d Added mulitsink example 7 years ago
gabime c9331594bb Renamed file to pattern_forammter.h and fixed utc support 7 years ago
gabime b07069fb4d Fixed example 7 years ago
Gabi Melman 4fc59e3e7b
Update example.cpp 7 years ago
Gabi Melman 5fddfca7c6
Update example.cpp 7 years ago
Gabi Melman 745b9e32ed
Update example.cpp 7 years ago
gabime 9dc44c39e7 Fixed bugs in stdout_sinks and in msvc 7 years ago
gabime 39c6eb752a Code formatting 7 years ago
gabime 72f4fae207 updated example 7 years ago
gabime b0bf457538 updated example 7 years ago
gabime cd4dcbab36 Renamed simple_file_sink -> basic_file_sink 7 years ago
gabime 36a823df70 Fixed msvc example solution 7 years ago
gabime e66ee8b710 fix gcc and clang warnings 7 years ago
gabime 8fdd26da82 Fixed example.cpp 7 years ago
gabime 8b7e19e92f Bug fixes in pattern_formatter and async_logger 7 years ago
gabime 28ef15d669 updated example 7 years ago
gabime 145fc367f9 updated example 7 years ago
gabime a21594bec7 move underscores to the end of private members 7 years ago
gabime 4b9949de7b format 7 years ago
gabime 5997e5aae7 cleaned bench folder to contain only spdlog tests 7 years ago
gabime 8a3c858d36 bench 7 years ago
gabime f2bc1571b4 update example 7 years ago
gabime 4d7245bb67 update example 7 years ago
gabime ef5c4f027c added tp getter to async api 7 years ago
gabime a43a44bb88 update example 7 years ago
gabime 0d7a1d1ef9 format 7 years ago
gabime 8932b77d63 fixed example 7 years ago
gabime b9d7c45e40 Use blocking queue 7 years ago
gabime 3c7103d90d Format 7 years ago
gabime d389bda2cc moved file sinks sinks folder 7 years ago
gabime 60f8a68ae0 Splitted file sinks to seperate headers 7 years ago
gabime e500fa013f example 7 years ago
gabime 0d61ab82e4 small makefile fix for example 7 years ago
gabime d51102a168 example.cpp fix 7 years ago
gabime 64c725cee2 Fixed multisink example 7 years ago
gabime c962c88342 Fixed linux port of v1.x 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 d6cb447667 fixed compile error 7 years ago
gabime 11e068d7a3 Added missing #include 7 years ago
gabime 6f1dc624e6 fix example 7 years ago
gabime 7378cc297c fix example 7 years ago
gabime 6f4cd8d397 thread_pool and refactoring async 7 years ago
gabime e9bb008f15 Fixed example 7 years ago
gabime d352aa0990 Fixed example 7 years ago
gabime cfb450c059 Fixed eol write in pattern_formatter_impl 7 years ago
gabime 309327187a Fixed example makefile for clang 7 years ago
gabime 1dea46e1ab code formatting 7 years ago
gabime 2f7fdf2663 wincolor color formatting support 7 years ago
gabime d040ab93ea wincolor color formatting support 7 years ago
gabime 200815892f Fix clang-tidy warnings about missing braces around if and for statements 8 years ago
gabime 4445f6f869 formatting 8 years ago
gabime fe5aaf4932 Fixed example 8 years ago
gabime 5afb5dc782 Changed clang formatting for templates 8 years ago
gabime a2653d409f clang-format 8 years ago
gabime 2e098421f1 added .log extension to bench test 8 years ago
Daniel Chabrowski 5d08bd1709 Bump example's cmake version to 3.1
CMake 3.1 is used in main CMakeLists file, no reason not to use it in example.
Threads::Threads is introduced in cmake 3.1.
8 years ago
Daniel Chabrowski 646a140ed4 Specify CXX language explicitly in CMake
Marking project as CXX will disable detecting C compiler and other checks.
Removed 'INCLUDES DESTINATION' as it made the include path appear doubled.
8 years ago
Ryan Carmichael da51d8dfd3 Fixed spelling mistake in example.cpp 8 years ago
gabime f5939f9e56 astyle 8 years ago
gabime 3c4a2bf531 Handle file extensions in rotating and daily loggers 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
gabime f70b2ef3b8 Fixed cygwin support 8 years ago
gabime 4371092309 fixed gcc shadow warnings 8 years ago
Alexei Pastuchov 8fd16fc45e code formatting (astyle and dos2unix)
it aims to solve the issue #467
8 years ago
Asit Kumar Dhal 97be4532cc trace_if and debug_if macro added 8 years ago
Asit Kumar Dhal a767f07ba3 Conditional logging in the example 8 years ago
gabime 13fb2550c6 Fixed issue #449 8 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 6128a87da2 Fix issue #300 9 years ago
gabime f14d1c002b astyle 9 years ago
gabime 0cfdad4d0b Windows console color support. Replaced color param in API with new functions 9 years ago
Hugh Wang 96267654e6 Add Android examples. 9 years ago
davide d79af47a28 added example 9 years ago
davide b67076fc85 added level_t to sink. Improves the flexibility of loggers with multiple sinks 9 years ago
gabime 2d64a1de1c fixed bench compilation 9 years ago
gabime 3afabcd17e astyle 9 years ago
gabime e562e001cf Removed force_flush arg from API (use flush_on(level) instead) 9 years ago
gabime 1df30a0733 support flush_on(..) in async loggers too 9 years ago
gabime 3a12f3c560 fix typo in example 9 years ago
gabime 20cb73e9da disable syslog by default (enable by #define SPDLOG_ENABLE_SYSLOG ) 9 years ago
Nazım Can Bedir 2678c37b56 Move syslog support tests to one place. 9 years ago
gabime 2705e35a8c updated example 9 years ago
gabime 5b2bd79b7e 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 1c4da3eef3 fixed example async error 9 years ago
gabime e7debaacd7 astyle 9 years ago
gabime 39cdd08a54 no exceptions while logging 9 years ago
gabime 43a4048b92 astyle 9 years ago
gabime eff486dbae updated .gtiignore and example vcxproj file 9 years ago
gabime 0ae66b5b28 support for external fmtlib 9 years ago
gabime 01601cef85 fixed tests warnings 9 years ago
gabime b4923956ce updated gitignore and the example's VS 2015 .sln 9 years ago
gabime 8a25783245 updated example.sln to vs2015 9 years ago
gabime 0bcf4ad806 updated example to vs 2015 9 years ago
gabime bac8fc24bb gitignore 9 years ago
gabime 7ddfb2b877 fixed macros and other stuff for the no-streams branch 9 years ago
gabime 7885aa478c no streams 9 years ago
gabime 5650f10bab DEPRECATED: operator<< API 9 years ago
gabime 70d0e87328 example update 9 years ago
gabime a047b58e65 Added "basic_logger_mt/basic_logger_st" to the API 9 years ago
Kevin M. Godby 1c31b42e1a Use CMake Threads package instead of manually specifying -pthread. 9 years ago
Gabi Melman 6d5bce46f8 Revert "CMake script improvements" 9 years ago
Kevin M. Godby 1b444345ab Cleaned up cmake file for examples.
It's no longer a standalone cmake file because cmake was crashing when
reading it as part of the subproject.
9 years ago
gabime 0d26359856 astyle 9 years ago
gabime a79a045799 .gitignore 10 years ago
gabime 495ecaeaee astyle 10 years ago
gabime abee27b95a logs folder in example 10 years ago
gabime 296623baa3 API for color support in console logger 10 years ago
gabime d405027fe9 renamed setColor 10 years ago
gabime 8dbf88f90e refactor example.cpp 10 years ago
Kevin M. Godby 1c9f1749d3 Added ANSI color sink. 10 years ago
gabime 01f3d6f5f0 updated example to vs2015 solution 10 years ago
gabime 8c38b4ee9e MIT license 10 years ago
gabime 74b0268713 Minor example fix 10 years ago
gabime 860015ccfd Add visual studio example solution 10 years ago
gabime c900b25dfd fixed gcc build 10 years ago
Gabi Melman d28662db60 Merge pull request #127 from ruslo/add.cmake
Add CMake build
10 years ago
Ruslan Baratov c19d9759d5 Add CMake build 10 years ago
Ruslan Baratov 567954425b Return unsuccessful exit code if error occurs 10 years ago
gnzlbg 2117568be5 adds travis-ci automated testing 10 years ago
gabime 7105fdadf9 added drop_all() to example 11 years ago
gabime 1150247efa astyle 11 years ago
Ivan Shynkarenka 385016496b Add async queue size as a separate parameter from sample size 11 years ago
gabime abc4ccc513 Fix unused warning in example under gcc 11 years ago
gabime 9cfdfc75b7 Updated example to show daily logger usage 11 years ago
gabime fde3d2db99 astyle+comments 11 years ago
gabime e85a3cc33b removed warning from example.cpp 11 years ago
Gabi Melman 386f75200d Added example of user defined class with operator<< 11 years ago
Gabi Melman 297cbc1ffc Updated example 11 years ago
Matan Nassau 4653c27f0d respect user-set compiler name
what if my clang compiler is not clang but clang-3.5?
11 years ago
gabime f3a4174853 astyle.sh 11 years ago
gabime cd2a484e96 reordered members definition in async_log_helper to prevent gcc warning 11 years ago
gabime 563a42731b example 11 years ago
gabime 40a55b8e34 astyle 11 years ago
gabime d163b8c45a astyle 11 years ago
gabime 679ad512ea updated example 11 years ago
gabime e0b99edc99 updated example 11 years ago
gabime dbad409b03 updated example 11 years ago
gabime df9fc0e203 updated example 11 years ago
gabime 14273418d9 updated example 11 years ago
gabime b1867cfba3 log levels now lowercase 11 years ago
gabime a50e7ed61e example update 11 years ago
gabime 92f2b7556e syslog improvments 11 years ago
gabime 21a74482e6 bench fix 11 years ago
gabime 689960f27c fix syslog bug 11 years ago
Gabi Melman 3b61f50cbf Merge pull request #20 from fooinha/syslog-openlog
Syslog openlog
11 years ago
fooinha 630e301e76 Remove test- prefix from examples make targets 11 years ago
gabi ce6ee347ab Small fix to example 11 years ago
gabi 55662d0370 Merge branch 'master' of https://github.com/gabime/spdlog 11 years ago
gabi 348390f90d Added debug macros 11 years ago
gabime 5467cb35f3 fixed clang make 11 years ago
fooinha 309fca8a72 Add a Makefile to main directory.
It eases the project integration with some IDE applications.
11 years ago
fooinha 8c9a6fc02c * openlog setup for syslog sink 11 years ago
gabi 961d5b947d Undo commit 11 years ago
gabi c87c6b64b9 Fix linkage errors 11 years ago
gabime 03a09705ff example 11 years ago
gabime 6313174bf1 astyle 11 years ago
gabime 5db6c5163c exmaple 11 years ago
gabime 7f174a2b2f fixed example and bench 11 years ago
gabime 04c116315a merge 11 years ago
gabime 159165665d fixed example 11 years ago
gabime 76436d07cc bench and examples updates 11 years ago
gabime 754cac85ac defer localtime to formatter to improve async performace 11 years ago
gabime c215ee6104 bench fix 11 years ago
gabime c63e9fae9d async bench 11 years ago
gabime d89628bb17 fixed makefile 11 years ago
gabime 0e3120ba51 removed include iostream 11 years ago
gabime 5186aca671 disabled formatcpp Wshadow warnings.. 11 years ago
gabime 2278e9230f some fixes for gcc 11 years ago
gabime 73b31e4d10 astyle 11 years ago
gabime 2485dae1cc example fix 11 years ago
gabime 8d25324444 continue with cppformatter integration 11 years ago
gabime 0629c51910 Makefile - removed WShadow warning 11 years ago
gabime 68ee9a7ada replaced flush_interval with auto_flush boolean 11 years ago
gabime def6fc62f4 updated benchmarks 11 years ago
gabime c56fae39e8 bench small change 11 years ago
gabime 6cda714e4a fixed gcc pedantic warnings 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
gabi 2ac49b90e6 Bug fix in registry 11 years ago
gabime d0678d8a7e example typo 11 years ago
gabi a66d80c1d4 bench 11 years ago
gabi 58688d7d1c Removed close() from sink to have RAII semantics 11 years ago
gabi 03d9abe8e2 mingw support 11 years ago
gabime 65c79d58e3 Changed makefile name to Makefile 11 years ago
gabi 4728b41e8b Updated readme and example.cpp 11 years ago