Commit Graph

312 Commits (b922ae0fb82a65e620b6eeee56a974b4343a413b)

Author SHA1 Message Date
gabi 4cb6aa90b2 New async_logger class and API 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
gabi 2ac49b90e6 Bug fix in registry 11 years ago
gabime d0678d8a7e example typo 11 years ago
gabi a66d80c1d4 bench 11 years ago
gabi 58688d7d1c Removed close() from sink to have RAII semantics 11 years ago
gabi 03d9abe8e2 mingw support 11 years ago
gabime 65c79d58e3 Changed makefile name to Makefile 11 years ago
gabi 4728b41e8b Updated readme and example.cpp 11 years ago
gabi 52598c8130 example update 11 years ago
gabime 6e52ca0eb0 makefile fix 11 years ago
gabime 74aae4f368 readme 11 years ago
gabime e8403e17df astyle 11 years ago
gabime 1c7b3e4eb2 bench 11 years ago
gabi 567e85e6d4 bench 11 years ago
gabime bf303fad19 bench 11 years ago
gabime 2d075bcfda bench 11 years ago
gabi 31971bf63b updated example and added more creation functions 11 years ago
gabi cbddc8796a 1. renamed lib to to spitlog
2. Rotating bugfix
11 years ago
gabi ae9d88dbb3 small updates 11 years ago
gabi e5f4790407 Bug fixes 11 years ago
gabi b94ca27ce4 file helper 11 years ago
gabime 8fb32dcb65 gcc fixes 11 years ago
gabi 6eaf14191f many changes:) 11 years ago
gabi 796ec3db89 Added registry 11 years ago
gabi 319db7bccc Default formatter and common types into common.h 11 years ago
gabime e76a365bf1 gcc fix 11 years ago
gabi 32a8b51d05 pattern_formatter support most strftime format 11 years ago
gabi f4d9c31a2f bench update 11 years ago
gabi 21065ec036 proper swap and move operations on swap oss 11 years ago
gabime e6345e008b gcc warnings fix 11 years ago
gabi 650486a067 removed the use of str() in when building the log to improve perf even more 11 years ago
gabi 41db99556a more code cleanup 11 years ago
gabime beca913851 updated example makefiles 11 years ago
gabime 391bd396ef fixed gcc bugs and warnings 11 years ago
gabi ef330729cb moved pattern_formatter to details 11 years ago
gabi 0be8981058 logger class cleanup 11 years ago
gabi 481fdbcbb1 Added pattern formatter and updated related stuff 11 years ago
gabime 8139d01142 fixed warnings and added makefile for bench 11 years ago
gabi a7f046901d added bench and example files 11 years ago
gabi 535e332dc1 added 11 years ago
gabi ae2426e0be Small changes 11 years ago
gabi 2a6ff3b613 Added ostream_sink 11 years ago
gabi 8e8c39375a null sink 11 years ago
gabi ed6532b9f0 replace constexpr with const becasuse vs2013 lack of support 11 years ago
gabime 0948a1257d small cleanup 11 years ago
gabime 4207c40786 astyle 11 years ago
gabime 0f919304b8 stack_buf improvement after code revie 11 years ago
gabi 3244e233a6 Use again back fast_oss.h after code cleanup 11 years ago
gabi 497d511746 log_msg refactoring and raw message support 11 years ago
gabime bafea6a6b2 remode stack_oss 11 years ago
gabime b72098101e stackbuf move ctor 11 years ago
gabime 3463dcd1aa log_msg.h 11 years ago
gabime bde2d24abb astyle 12 years ago
gabime 4696132cd5 added trace log level 12 years ago
gabime 36ef0732b3 nice logger api improvement 12 years ago
gabime fff6d8f388 nice logger api improvement 12 years ago
gabime 1a795a44de nice logger api improvement 12 years ago
gabime 9e1ba5167a nice logger api improvement 12 years ago
gabime ff824cdb5a logger small fixes 12 years ago
gabime 4c367a4bb5 line_logger fixes 12 years ago
gabime afb4f1d8fa another test of stupid script 12 years ago
gabime b28e212073 -- 12 years ago
gabime 133ce994d1 async_sink 12 years ago
gabime 28e1c65963 async_sink use unique_ptr instead of shared 12 years ago
gabime 3a1ac8b4d6 async_sink fixes 12 years ago
gabime 457cc1170b async_sink fixes 12 years ago
gabime 4754c6212d revert logging templates 12 years ago
gabime f090d66066 astyle 12 years ago
gabime 87cc555d0b example 12 years ago
gabime 5556967ed9 logger ctor cleanup 12 years ago
gabime 900295611a minor fixes 12 years ago
gabime 1c4be7fb88 logger templates 12 years ago
gabime c09df09b9c move log_msg to details namespace 12 years ago
gabime f909caf38b moved to log_msg 12 years ago
gabime 4ed60befbc small fixes 12 years ago
gabime a287bccd40 var names and some minor cleanups 12 years ago
gabime 8494590fb3 astyle+dos2unix 12 years ago
gabime 6a83c34426 logger.h 12 years ago
gabime 4189a406f4 git ignore 12 years ago
gabime 64f2b33273 debug flags bugfix 12 years ago
gabime 04549b8784 increased fast_os size to 192 12 years ago
gabime ba2b6aea25 fast_buf\! 12 years ago
gabime d0f3b05f90 formatter msvc support 12 years ago
gabime da82d8e245 initial reserver of std_devicebuf=128 12 years ago
gabime d8ddfe5c24 fixes 12 years ago
gabime 0209765b8f reserve capacity to fast_oss 12 years ago
gabime 08ba1791ba platform eol 12 years ago
gabime 9d9a955e94 default format_time performance improvement 12 years ago
gabime 38670cef27 flush helper count writes instead of time 12 years ago
gabime 9d687d1634 fixes 12 years ago
gabime a6d1ea77ee logger refactoring to init lists and mutex remove 12 years ago
gabime 6cc426d0e5 console sinks 12 years ago
gabime c9dd1169f2 returned fast_oss with optimizations 12 years ago
gabi 63812d7a03 small stuff 12 years ago
gabi bf75bfd9fb Removed fast_oss in favour of simple ostringsream 12 years ago
gabime 5f4bc3086a fixes 12 years ago
gabi 57fe78f1c6 Fix code to support VS2013 12 years ago
gabime 8b27eb0f01 example 12 years ago
gabime cd9773fcf4 example 12 years ago
gabime 2be33c19fc cache sprintf of time in default formatter 12 years ago
gabime 344b3d2834 remove info_logger 12 years ago
gabime 2ac214aed8 snprinf for msc ver 12 years ago
gabime b396ff85a7 common_types.h 12 years ago
gabime 50b81974e3 static one_hour 12 years ago
gabime ddcf45d65f flush every period 12 years ago
gabime 6f4c780089 flush_helper 12 years ago
gabime e27b45e3f0 removed uneeded files 12 years ago
gabime c5a8eb5cdb astyle 12 years ago
gabime 2f6a5eabe0 clang 12 years ago
gabime 3feba27f8b header only\! 12 years ago