Commit Graph

28 Commits

Author SHA1 Message Date
Denis Ivaykin
432e1109dd flush interval part 2 2015-05-11 00:17:49 +02:00
gabime
2a0d00929c stdout_loggers now thread safe across all instances (share same stdout_sink_mt) 2015-04-18 01:47:30 +03:00
gabime
256c64d72f Fixed registry functions 2015-04-11 17:15:20 +03:00
gabime
623f59ce6f Added register_logger to spdlog.h to register manually created loggers 2015-04-11 16:36:31 +03:00
gabime
c401e830d0 Added option for setting rotation time in daily file ctor 2015-02-15 23:28:13 +02:00
gabime
89afa909e1 shortened enum policy name and moved into common.h 2015-01-15 10:34:50 +02:00
Denis Ivaykin
365d895482 discard policies on queue overflow 2015-01-14 15:35:01 -06:00
Denis Ivaykin
d47fbbb79e worker warmup callback 2015-01-14 09:21:34 -06:00
gabi
7635455c8d Changed "auto_flush" to "force_flush" to better represent the meaning 2015-01-07 12:44:02 +02:00
gabi
bf3997de28 Added drop_all 2014-12-27 13:01:15 +02:00
gabime
28da625a6f removed the confusing stop() function 2014-12-21 03:11:40 +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
92f2b7556e syslog improvments 2014-12-19 18:01:49 +02: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
gabi
d37bded994 More improvements to the async logger 2014-12-07 04:18:07 +02:00
gabime
0db417f9af merged drop() from master 2014-12-02 02:16:56 +02:00
gabime
68ee9a7ada replaced flush_interval with auto_flush boolean 2014-11-25 00:23:55 +02:00
gabi
4cb6aa90b2 New async_logger class and API 2014-11-24 01:29:09 +02:00
gabi
1008f5693d Fix not defined syslog_logger under windows 2014-11-12 23:56:13 +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
58688d7d1c Removed close() from sink to have RAII semantics 2014-11-05 23:07:20 +02:00
gabime
74aae4f368 readme 2014-11-01 03:20:54 +02:00
gabime
e8403e17df astyle 2014-11-01 02:28:49 +02:00
gabi
567e85e6d4 bench 2014-11-01 02:12:12 +02:00
gabi
31971bf63b updated example and added more creation functions 2014-10-31 03:17:40 +02:00
gabi
c7b8c762fb spdlog 2014-10-31 01:13:27 +02:00