Commit Graph

286 Commits (f5dc16603ee97b77f9945e29b4f4864afdde2652)

Author SHA1 Message Date
gabime 487c318788 ansicolor sink improvments (remove warning and uneeded string concat)
10 years ago
gabime a2061e3780 fix sqlite3 sink
10 years ago
Gabi Melman ff2398b6b1 Merge pull request #191 from OSVR/ansi-color-sink-decorator
10 years ago
Gabi Melman 418dec1e4b Merge pull request #188 from PedroRod/master
10 years ago
gabime 04b0634b87 mscv_sink rename
10 years ago
gabime becef922c2 add missing include
10 years ago
gabime 36a5f5188e Merge branch 'master' of https://github.com/gabime/spdlog
10 years ago
gabime 79451368cf Fixed issue #179 (Conflict with Boost.Asio) (by defining FMT_USE_WINDOWS_H=0 in format.h and preventing include of windows.h)
10 years ago
PedroRod ea1d0fd37b assigned nullptr to _database and _query_stmt upon flushing so that if flush gets called again, will not throw an exception
10 years ago
PedroRod 26ab30aba5 forgot to reset the null pointer of the bind back to SQLITE_STATIC
10 years ago
PedroRod d8d8dfd3e2 made the prepared statement re-usable and renamed .h to sqlite_sink
10 years ago
PedroRod 571e85d0f4 changed ctrs,variables,argsguments to match code style of spdlog, also removed columns mapping since there is no clean way of set column name dynamically on a prepared statement and changed query to use prepared statements
10 years ago
PedroRod a7011baa53 Added SQLite3 sink to the solution
10 years ago
Kevin M. Godby ee610efd7d Add assignment operator to ansi color sink. Adjust default colors.
10 years ago
Kevin M. Godby e8a669fe0e Remove member initialization because MSVC 2013 doesn't support it.
10 years ago
Kevin M. Godby 1c9f1749d3 Added ANSI color sink.
10 years ago
Alexander Dalshov ea3eef0b5f add msvc logging sink
10 years ago
Kevin M. Godby 077c3095eb Added missing standard header includes.
10 years ago
Kevin M. Godby 196689f720 Fixed header include problems.
10 years ago
Sebastian Messmer 7b8d507615 Allow syslog logger on Mac OS X
10 years ago
gabime e060bbf3ed astyle
10 years ago
Gabi Melman bb32fa1802 Update file_sinks.h
10 years ago
gabime 8c38b4ee9e MIT license
10 years ago
gabime 0f76db880e astyle
10 years ago
Chris Hiszpanski 08f41d4f65 Update syslog_sink.h
10 years ago
David Schury 2175b00814 Fixed thread unsafe flush method.
10 years ago
David Schury e12c50a8a5 Add distributional sink
10 years ago
Gabi Melman ccc66db7fc Update android_sink.h
10 years ago
Ruslan Baratov 8fdd4c3547 Add Android sink
10 years ago
gabime ea1a92769b Fixed rotating_logger_mt does not rotate properly if app restarts #116
10 years ago
gabime cadd181d8d Reverted pull #111 - wchar support under windows - it pollutes global namespace with new defines
10 years ago
Artem Martynovich 8b6df31ec9 Revert to original formatting.
10 years ago
Artem Martynovich 0e5c4b9de4 Fix Unix build. Use S("...") instead of L"..." for better compatibility.
10 years ago
Artem Martynovich 2b59393bda Add wchar_t support for Windows.
10 years ago
gnzlbg fbd9d924d6 adds missing flush override to simple_file_sink
11 years ago
gabime 64850dcb0c small style fixes
11 years ago
Denis Ivaykin 63e0012e34 flush in logger
11 years ago
Denis Ivaykin 849b5cb84e flush
11 years ago
gabime 2a0d00929c stdout_loggers now thread safe across all instances (share same stdout_sink_mt)
11 years ago
gabime 31a011e67c Fixed daily sink syntax error and redundant file close
11 years ago
gabime c1dd340a25 Updated cppformat to version 86a7d856fa03fb5ba96f1a27907a4b7171f42e56 and remove spdlog::details namespace from it's source
11 years ago
gabime c401e830d0 Added option for setting rotation time in daily file ctor
11 years ago
gabi b7b421c8fc Added auto flush to stdout & stderr sinks
11 years ago
gabi 7635455c8d Changed "auto_flush" to "force_flush" to better represent the meaning
11 years ago
Felix Gündling 7fd91e5512 include/spdlog/sinks/syslog_sink.h: add missing <array> include (gcc 4.7 complains)
11 years ago
gabime 40a55b8e34 astyle
11 years ago
gabime d163b8c45a astyle
11 years ago
gabime b1867cfba3 log levels now lowercase
11 years ago
Jens Breitbart 67b633880b Replaced throw() with noexcept and removed some unneeded ';'.
11 years ago
gabime fcd1fc037f append instead of truncate when opening new files
11 years ago
gabime 92f2b7556e syslog improvments
11 years ago
gabime 689960f27c fix syslog bug
11 years ago
fooinha c44ca12d57 Call closelog in syslog sink's destructor
11 years ago
fooinha 375b88c191 Optional arguments for syslog_logger factory.
11 years ago
fooinha 8c9a6fc02c * openlog setup for syslog sink
11 years ago
gabi d817994bd2 Moved namespace fmt to be under spdlog::details to minimize namespace pollution for the users
11 years ago
gabime 52d02af950 using mpmc bounded q for async and many async optimizations
11 years ago
gabi 243dc61e58 async using lockfree queue and bug fixes regarding usage of cppformat
11 years ago
gabime 0e3120ba51 removed include iostream
11 years ago
gabime b0a687c148 astyle
11 years ago
gabime ed17c9a4a9 fixed async_sink to use move instead of unique_ptr
11 years ago
gabi 2c0acf66f9 use cppformat in sinks
11 years ago
gabime 68ee9a7ada replaced flush_interval with auto_flush boolean
11 years ago
Gabi Melman 54b868122d Update async_sink.h
11 years ago
Gabi Melman 94d2556db6 Update last exception moving from worker thread to user thread in async mode
11 years ago
gabi 4cb6aa90b2 New async_logger class and API
11 years ago
gabime ece27ac952 astyle
11 years ago
gabi e2cd9285f4 async_sink user pointers in the q instead of objects in the queue (faster than moving)
11 years ago
gabi fd3f13cd90 revert sink accepting only char* and size_t
11 years ago
gabime a3a8f107a4 revert syslog
11 years ago
gabime c2fc8edfed syslog compile
11 years ago
gabi 66039c7c0e Simplified sink interface - to just accept char* and size_t
11 years ago
gabime a9abfbb005 Fixed rotate bug
11 years ago
Arnaud Kapp 37459ae9f1 Check return code from std::remove.
11 years ago
Gabi Melman 8f24fc5f14 Update syslog_sink.h
11 years ago
Arnaud Kapp 67eef26c26 Add a syslog() based sink for Linux.
11 years ago
gabi baec3ec1fb patch async_sink
11 years ago
gabi 4bd25f897f async_sink: catch back thread exceptions and rethrow on the calling thread on the next logging request
11 years ago
gabi 4fb55903fa fix in async_sink not to throw in destrcutor in case join failed
11 years ago
gabi ca42657d3c small improvment in async shutdown
11 years ago
gabi 58688d7d1c Removed close() from sink to have RAII semantics
11 years ago
gabime 74aae4f368 readme
11 years ago
gabime e8403e17df astyle
11 years ago
gabi 567e85e6d4 bench
11 years ago
gabi 31971bf63b updated example and added more creation functions
11 years ago
gabi c7b8c762fb spdlog
11 years ago