Commit Graph

127 Commits (22f85deb2c1b661ec9ec4194442935b88ec23dfd)

Author SHA1 Message Date
gabime 0684b4f378 use size_t to better represent thread id across platforms 11 years ago
gabime 147ce4c80d #define SPDLOG_NOEXCEPT throw() under visual studio 11 years ago
Gabi Melman 47e695d2fc Update common.h 11 years ago
Gabi Melman 6b0ef15644 Do not use CLOCK_REALTIME_COARSE by default 11 years ago
gabime dae66133c6 comment about clock 11 years ago
gabime 0d7570c745 comment about clock 11 years ago
gabi fb67e571f5 Under linux, use the much faster CLOCK_REALTIME_COARSE clock by default (SPDLOG_CLOCK_COARSE is defined in common.h) 11 years ago
Denis Ivaykin 2f34de820b coarse clock, short log level 11 years ago
gabi b74b28f5c6 added includes to common.h 11 years ago
gabime 9f34c58b3e comments 11 years ago
gabime 89afa909e1 shortened enum policy name and moved into common.h 11 years ago
gabime 40a55b8e34 astyle 11 years ago
gabime d163b8c45a astyle 11 years ago
gabime b1867cfba3 log levels now lowercase 11 years ago
gabi 1e7814295b fixed noexcept in visual studio 11 years ago
Jens Breitbart 67b633880b Replaced throw() with noexcept and removed some unneeded ';'. 11 years ago
gabime 92f2b7556e syslog improvments 11 years ago
Gabi Melman 3b61f50cbf Merge pull request #20 from fooinha/syslog-openlog
Syslog openlog
11 years ago
fooinha 375b88c191 Optional arguments for syslog_logger factory. 11 years ago
gabi 348390f90d Added debug macros 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
xaqq e4adba854c Add NOTICE, ALERT and EMERG log level.
This commit introduces 3 new log level. Thoses are:
    + NOTICE, which is a bit worse that INFO, but still not a warn.
    + ALERT, for case worse that critical.
    + EMERG, application is unusable.

With those 3 log levels, spdlog now has all log level accepted by
the syslog() system call.
11 years ago
gabime 74aae4f368 readme 11 years ago
gabime e8403e17df astyle 11 years ago
gabi 31971bf63b updated example and added more creation functions 11 years ago
gabi c7b8c762fb spdlog 11 years ago