Commit Graph

250 Commits

Author SHA1 Message Date
gabime
0ae66b5b28 support for external fmtlib 2016-07-22 18:06:36 +03:00
gabime
01601cef85 fixed tests warnings 2016-07-15 18:41:59 +03:00
gabime
b4923956ce updated gitignore and the example's VS 2015 .sln 2016-07-15 17:52:22 +03:00
gabime
8a25783245 updated example.sln to vs2015 2016-07-11 19:16:02 +03:00
gabime
0bcf4ad806 updated example to vs 2015 2016-07-11 19:01:16 +03:00
gabime
bac8fc24bb gitignore 2016-07-09 04:50:05 +03:00
gabime
7ddfb2b877 fixed macros and other stuff for the no-streams branch 2016-07-09 00:46:00 +03:00
gabime
7885aa478c no streams 2016-07-08 17:50:13 +03:00
gabime
5650f10bab DEPRECATED: operator<< API 2016-07-03 03:43:55 +03:00
gabime
70d0e87328 example update 2016-06-22 00:36:34 +03:00
gabime
a047b58e65 Added "basic_logger_mt/basic_logger_st" to the API 2016-06-22 00:23:55 +03:00
Kevin M. Godby
1c31b42e1a Use CMake Threads package instead of manually specifying -pthread. 2016-06-17 01:07:40 -05:00
Gabi Melman
6d5bce46f8 Revert "CMake script improvements" 2016-05-05 10:19:32 +03:00
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.
2016-05-04 19:53:50 -05:00
gabime
0d26359856 astyle 2016-04-20 11:57:49 +03:00
gabime
a79a045799 .gitignore 2016-04-03 12:07:30 +03:00
gabime
495ecaeaee astyle 2016-04-03 02:14:54 +03:00
gabime
abee27b95a logs folder in example 2016-04-03 02:07:59 +03:00
gabime
296623baa3 API for color support in console logger 2016-04-03 01:38:49 +03:00
gabime
d405027fe9 renamed setColor 2016-03-30 19:52:32 +03:00
gabime
8dbf88f90e refactor example.cpp 2016-03-30 16:05:09 +03:00
Kevin M. Godby
1c9f1749d3 Added ANSI color sink. 2016-03-15 20:18:08 -05:00
gabime
01f3d6f5f0 updated example to vs2015 solution 2015-12-13 15:19:28 +02:00
gabime
8c38b4ee9e MIT license 2015-11-28 18:24:20 +02:00
gabime
74b0268713 Minor example fix 2015-11-28 15:01:45 +02:00
gabime
860015ccfd Add visual studio example solution 2015-11-28 13:44:06 +02:00
gabime
c900b25dfd fixed gcc build 2015-09-19 18:57:19 +03:00
Gabi Melman
d28662db60 Merge pull request #127 from ruslo/add.cmake
Add CMake build
2015-09-11 00:45:14 +03:00
Ruslan Baratov
c19d9759d5 Add CMake build 2015-09-10 23:22:18 +03:00
Ruslan Baratov
567954425b Return unsuccessful exit code if error occurs 2015-09-10 22:58:53 +03:00
gnzlbg
2117568be5 adds travis-ci automated testing 2015-05-11 11:23:04 +02:00
gabime
7105fdadf9 added drop_all() to example 2015-04-07 21:16:11 +03:00
gabime
1150247efa astyle 2015-03-21 13:55:00 +02:00
Ivan Shynkarenka
385016496b Add async queue size as a separate parameter from sample size 2015-03-12 22:33:05 +03:00
gabime
abc4ccc513 Fix unused warning in example under gcc 2015-02-15 23:40:45 +02:00
gabime
9cfdfc75b7 Updated example to show daily logger usage 2015-02-15 23:35:55 +02:00
gabime
fde3d2db99 astyle+comments 2015-02-10 01:56:09 +02:00
gabime
e85a3cc33b removed warning from example.cpp 2015-01-28 23:49:52 +02:00
Gabi Melman
386f75200d Added example of user defined class with operator<< 2015-01-28 13:37:38 +02:00
Gabi Melman
297cbc1ffc Updated example 2015-01-28 13:23:15 +02:00
Matan Nassau
4653c27f0d respect user-set compiler name
what if my clang compiler is not clang but clang-3.5?
2015-01-17 20:57:34 -05:00
gabime
f3a4174853 astyle.sh 2015-01-15 10:49:05 +02:00
gabime
cd2a484e96 reordered members definition in async_log_helper to prevent gcc warning 2015-01-15 10:27:36 +02:00
gabime
563a42731b example 2014-12-21 03:04:46 +02:00
gabime
40a55b8e34 astyle 2014-12-21 02:47:04 +02:00
gabime
d163b8c45a astyle 2014-12-21 02:42:37 +02:00
gabime
679ad512ea updated example 2014-12-21 02:37:01 +02:00
gabime
e0b99edc99 updated example 2014-12-21 02:34:52 +02:00
gabime
dbad409b03 updated example 2014-12-21 02:32:23 +02:00
gabime
df9fc0e203 updated example 2014-12-21 02:31:10 +02:00
gabime
14273418d9 updated example 2014-12-21 02:30:33 +02:00
gabime
b1867cfba3 log levels now lowercase 2014-12-21 01:30:39 +02:00
gabime
a50e7ed61e example update 2014-12-19 20:59:26 +02:00
gabime
92f2b7556e syslog improvments 2014-12-19 18:01:49 +02:00
gabime
21a74482e6 bench fix 2014-12-18 22:27:56 +02:00
gabime
689960f27c fix syslog bug 2014-12-18 21:38:37 +02:00
Gabi Melman
3b61f50cbf Merge pull request #20 from fooinha/syslog-openlog
Syslog openlog
2014-12-18 20:42:51 +02:00
fooinha
630e301e76 Remove test- prefix from examples make targets 2014-12-18 16:48:42 +00:00
gabi
ce6ee347ab Small fix to example 2014-12-18 10:12:06 +02:00
gabi
55662d0370 Merge branch 'master' of https://github.com/gabime/spdlog 2014-12-18 10:07:33 +02:00
gabi
348390f90d Added debug macros 2014-12-18 10:07:21 +02:00
gabime
5467cb35f3 fixed clang make 2014-12-17 07:10:46 +02:00
fooinha
309fca8a72 Add a Makefile to main directory.
It eases the project integration with some IDE applications.
2014-12-16 15:28:23 +00:00
fooinha
8c9a6fc02c * openlog setup for syslog sink 2014-12-16 15:13:35 +00:00
gabi
961d5b947d Undo commit 2014-12-07 18:49:34 +02:00
gabi
c87c6b64b9 Fix linkage errors 2014-12-07 18:47:59 +02:00
gabime
03a09705ff example 2014-12-07 07:24:46 +02:00
gabime
6313174bf1 astyle 2014-12-07 07:18:43 +02:00
gabime
5db6c5163c exmaple 2014-12-07 07:16:37 +02:00
gabime
7f174a2b2f fixed example and bench 2014-12-07 06:54:25 +02:00
gabime
04c116315a merge 2014-12-07 06:12:15 +02:00
gabime
159165665d fixed example 2014-12-07 06:02:46 +02:00
gabime
76436d07cc bench and examples updates 2014-12-07 05:48:32 +02:00
gabime
754cac85ac defer localtime to formatter to improve async performace 2014-12-04 11:48:53 +02:00
gabime
c215ee6104 bench fix 2014-12-03 17:49:52 +02:00
gabime
c63e9fae9d async bench 2014-12-03 01:48:20 +02:00
gabime
d89628bb17 fixed makefile 2014-12-02 02:38:31 +02:00
gabime
0e3120ba51 removed include iostream 2014-12-02 02:30:42 +02:00
gabime
5186aca671 disabled formatcpp Wshadow warnings.. 2014-12-02 02:24:30 +02:00
gabime
2278e9230f some fixes for gcc 2014-12-02 00:18:44 +02:00
gabime
73b31e4d10 astyle 2014-11-29 20:02:14 +02:00
gabime
2485dae1cc example fix 2014-11-29 20:01:45 +02:00
gabime
8d25324444 continue with cppformatter integration 2014-11-29 20:01:01 +02:00
gabime
0629c51910 Makefile - removed WShadow warning 2014-11-29 19:58:32 +02:00
gabime
68ee9a7ada replaced flush_interval with auto_flush boolean 2014-11-25 00:23:55 +02:00
gabime
def6fc62f4 updated benchmarks 2014-11-24 23:31:02 +02:00
gabime
c56fae39e8 bench small change 2014-11-24 01:54:49 +02:00
gabime
6cda714e4a fixed gcc pedantic warnings 2014-11-24 01:38:29 +02:00
gabi
4cb6aa90b2 New async_logger class and API 2014-11-24 01:29:09 +02:00
gabime
ece27ac952 astyle 2014-11-22 10:29:06 +02:00
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.
2014-11-11 13:49:19 +01:00
gabi
2ac49b90e6 Bug fix in registry 2014-11-07 16:57:10 +02:00
gabime
d0678d8a7e example typo 2014-11-05 23:46:15 +02:00
gabi
a66d80c1d4 bench 2014-11-05 23:15:34 +02:00
gabi
58688d7d1c Removed close() from sink to have RAII semantics 2014-11-05 23:07:20 +02:00
gabi
03d9abe8e2 mingw support 2014-11-05 22:54:13 +02:00
gabime
65c79d58e3 Changed makefile name to Makefile 2014-11-03 19:51:20 +02:00
gabi
4728b41e8b Updated readme and example.cpp 2014-11-03 09:00:28 +02:00
gabi
52598c8130 example update 2014-11-01 21:34:55 +02:00
gabime
6e52ca0eb0 makefile fix 2014-11-01 03:44:22 +02:00