Commit Graph

161 Commits (039b34e83aaadce84ec2513c35db678485e964ed)

Author SHA1 Message Date
gabime c4298a989e dist sink cleanup 9 years ago
Gabi Melman cee155c1dd typo in comment 9 years ago
gabime 43a4048b92 astyle 9 years ago
gabime 0ae66b5b28 support for external fmtlib 9 years ago
gabime f5bde237dd Updated fmt lib to version 0d5ef5c2a66026409b0cfbafa1d2f46cdc5aa4d0 9 years ago
gabime 842e5236e4 Fixed possible name collision with boost chrono 9 years ago
gabime c5c6baad74 Added errno description to sdlog exception strings 9 years ago
gabime 7ddfb2b877 fixed macros and other stuff for the no-streams branch 9 years ago
gabime 7885aa478c no streams 9 years ago
Kevin M. Godby cb3b7728a1 Fix missing include detected by new header dependency tests. 9 years ago
gabime 38c0ee018b astyle 9 years ago
gabime 80a432e646 cleaned common.h and moved some code around 9 years ago
Gabi Melman 6d5bce46f8 Revert "CMake script improvements" 9 years ago
Kevin M. Godby e10a2fca65 Added missing base_sink.h include. 9 years ago
eao197 ef9842c36d daily_file_sink with custom file name calculator 9 years ago
gabime 0d26359856 astyle 10 years ago
Anton Goryunov ba68a2d05d - std::cout replaced with fwrite to stdout in console sink 10 years ago
gabime 19dae96985 wchar filenames support - minor improvements 10 years ago
unknown 113ebcfd97 Add the SPDLOG_USE_WCHAR tweak to enable support for Unicode names on Windows. Refs #111 10 years ago
gabime 495ecaeaee astyle 10 years ago
gabime 296623baa3 API for color support in console logger 10 years ago
gabime e9633a5363 Merge branch 'master' of https://github.com/gabime/spdlog 10 years ago
gabime 006ac6685a temporary removed sqlite_sink from the project (not compiling well under gcc) 10 years ago
gabime ccabe07f3f license 10 years ago
gabime d405027fe9 renamed setColor 10 years ago
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
ANSI color sink decorator
10 years ago
Gabi Melman 418dec1e4b Merge pull request #188 from PedroRod/master
Added SQLite3 sink to the solution
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
Fixed missing #pragma once
10 years ago
gabime 8c38b4ee9e MIT license 10 years ago
gabime 0f76db880e astyle 10 years ago
Chris Hiszpanski 08f41d4f65 Update syslog_sink.h
Syslog already adds formatting, such as the identifier set with `openlog` in the constructor, the priority, and timestamp -- using the formatted message duplicates this information in the log message. This especially causes problems when the syslog is forwarded to aggregators such as Loggly, Logstash, etc. which can parse log messages which are JSON. However, the duplicated fields which spdlog prepends interfere with this -- better to use `raw` in the syslog case I think, or perhaps add an ability to use custom formatters on individual sinks.
10 years ago
David Schury 2175b00814 Fixed thread unsafe flush method. 10 years ago
David Schury e12c50a8a5 Add distributional sink
Setting up dist_sink to a logger will inject a layer between the logger and
(some of) it's sinks. Sinks can be added and removed to dist_sink dynamically.
10 years ago
Gabi Melman ccc66db7fc Update android_sink.h
Removed redundant check
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 10 years ago
gabime 64850dcb0c small style fixes 10 years ago
Denis Ivaykin 63e0012e34 flush in logger 10 years ago
Denis Ivaykin 849b5cb84e flush 10 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.
In case removing a file (file_sink) fails, we throw spdlog_ex.
11 years ago
Gabi Melman 8f24fc5f14 Update syslog_sink.h
Removed un needed includes
11 years ago