Commit Graph

65 Commits

Author SHA1 Message Date
Felix Gündling 7fd91e5512 include/spdlog/sinks/syslog_sink.h: add missing <array> include (gcc 4.7 complains) 2014-12-24 16:11:20 +01:00
gabime 40a55b8e34 astyle 2014-12-21 02:47:04 +02:00
gabime d163b8c45a astyle 2014-12-21 02:42:37 +02:00
gabime b1867cfba3 log levels now lowercase 2014-12-21 01:30:39 +02:00
Jens Breitbart 67b633880b Replaced throw() with noexcept and removed some unneeded ';'. 2014-12-20 15:06:36 +01:00
gabime 92f2b7556e syslog improvments 2014-12-19 18:01:49 +02:00
gabime 689960f27c fix syslog bug 2014-12-18 21:38:37 +02:00
fooinha c44ca12d57 Call closelog in syslog sink's destructor 2014-12-18 16:40:57 +00:00
fooinha 375b88c191 Optional arguments for syslog_logger factory. 2014-12-18 15:47:43 +00:00
fooinha 8c9a6fc02c * openlog setup for syslog sink 2014-12-16 15:13:35 +00:00
gabime ece27ac952 astyle 2014-11-22 10:29:06 +02:00
gabime a3a8f107a4 revert syslog 2014-11-21 00:46:57 +02:00
gabime c2fc8edfed syslog compile 2014-11-21 00:31:53 +02:00
Gabi Melman 8f24fc5f14 Update syslog_sink.h
Removed un needed includes
2014-11-11 15:44:46 +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