Commit Graph

110 Commits

Author SHA1 Message Date
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
gabime
74aae4f368 readme 2014-11-01 03:20:54 +02:00
gabime
e8403e17df astyle 2014-11-01 02:28:49 +02:00
gabime
1c7b3e4eb2 bench 2014-11-01 02:25:51 +02:00
gabi
567e85e6d4 bench 2014-11-01 02:12:12 +02:00
gabime
bf303fad19 bench 2014-10-31 17:02:42 +02:00
gabime
2d075bcfda bench 2014-10-31 16:34:48 +02:00
gabi
31971bf63b updated example and added more creation functions 2014-10-31 03:17:40 +02:00
gabi
cbddc8796a 1. renamed lib to to spitlog
2. Rotating bugfix
2014-10-30 00:11:06 +02:00
gabi
ae9d88dbb3 small updates 2014-10-26 02:23:14 +02:00
gabi
e5f4790407 Bug fixes 2014-10-26 01:52:37 +02:00
gabi
b94ca27ce4 file helper 2014-10-26 01:29:50 +02:00
gabime
8fb32dcb65 gcc fixes 2014-10-25 00:44:02 +03:00
gabi
6eaf14191f many changes:) 2014-10-25 00:32:56 +03:00
gabi
796ec3db89 Added registry 2014-10-24 18:01:11 +03:00
gabi
319db7bccc Default formatter and common types into common.h 2014-10-24 01:59:39 +03:00
gabime
e76a365bf1 gcc fix 2014-10-19 18:11:16 +03:00
gabi
32a8b51d05 pattern_formatter support most strftime format 2014-10-19 02:54:45 +03:00
gabi
f4d9c31a2f bench update 2014-10-18 19:04:24 +03:00
gabi
21065ec036 proper swap and move operations on swap oss 2014-10-18 18:35:48 +03:00
gabime
e6345e008b gcc warnings fix 2014-10-18 16:05:41 +03:00
gabi
650486a067 removed the use of str() in when building the log to improve perf even more 2014-10-15 00:46:14 +03:00
gabi
41db99556a more code cleanup 2014-10-14 08:00:39 +03:00
gabime
beca913851 updated example makefiles 2014-10-14 05:16:16 +03:00
gabime
391bd396ef fixed gcc bugs and warnings 2014-10-14 04:56:10 +03:00
gabi
ef330729cb moved pattern_formatter to details 2014-10-14 04:34:07 +03:00
gabi
0be8981058 logger class cleanup 2014-10-14 04:14:35 +03:00
gabi
481fdbcbb1 Added pattern formatter and updated related stuff 2014-10-14 03:44:40 +03:00
gabime
8139d01142 fixed warnings and added makefile for bench 2014-10-12 05:04:27 +03:00
gabi
a7f046901d added bench and example files 2014-10-12 04:40:11 +03:00
gabi
535e332dc1 added 2014-10-11 01:15:26 +03:00
gabi
ae2426e0be Small changes 2014-10-10 03:36:50 +03:00
gabi
2a6ff3b613 Added ostream_sink 2014-10-10 02:46:03 +03:00
gabi
8e8c39375a null sink 2014-08-12 00:04:17 +03:00
gabi
ed6532b9f0 replace constexpr with const becasuse vs2013 lack of support 2014-05-13 01:41:04 +03:00
gabime
0948a1257d small cleanup 2014-05-11 03:10:18 +03:00
gabime
4207c40786 astyle 2014-05-11 03:07:21 +03:00
gabime
0f919304b8 stack_buf improvement after code revie 2014-05-11 02:56:27 +03:00
gabi
3244e233a6 Use again back fast_oss.h after code cleanup 2014-05-09 16:33:55 +03:00
gabi
497d511746 log_msg refactoring and raw message support 2014-05-09 15:27:06 +03:00
gabime
bafea6a6b2 remode stack_oss 2014-05-08 02:23:07 +03:00