Commit Graph

286 Commits (f5dc16603ee97b77f9945e29b4f4864afdde2652)

Author SHA1 Message Date
Daniel Chabrowski 7aed498540 modernize-use-default-member-init
8 years ago
Daniel Chabrowski d5a3bb5234 readability-else-after-return
8 years ago
Daniel Chabrowski 9ebb9ff318 readability-implicit-bool-cast
8 years ago
Daniel Chabrowski fb6df0512f modernize-use-override
8 years ago
Daniel Chabrowski 7f4c1bb77c modernize-use-using
8 years ago
Colin Duquesnoy 11ee6834f6
Fix compilation error with GCC 8
8 years ago
Benjamin Schindler 05b2aabe0e Make set_color public in wincolor_sink to retain configurability
8 years ago
gabime 5ab033fba5 Fix issue #629
8 years ago
gabime f8aec1bdf1 Merge branch 'master' of https://github.com/gabime/spdlog.git
8 years ago
gabime 51a83da578 Repplaced map with unordered_map for level->colos mapping
8 years ago
Josh Junon cae749fc9b clear line after writing log message contents
8 years ago
Josh Junon 58e68725ae rename grey to black
8 years ago
Josh Junon a59f74e8a2 remove needless zeros in reset code
8 years ago
Joao Moreno 357a63d914 fix spdlog namespace
8 years ago
Joao Moreno a938045135 use Sleep in Windows instead of sleep_for
8 years ago
Stefan Broekman de4644b44a Issue fix for spdlog #595. Conversion warning.
8 years ago
gabime 26b390bb19 removed lock from dist_sink::_flush() (moved to base_sink::flush())
8 years ago
gabime a9149c6d46 added lock on flush in base_sink
8 years ago
gabime f5939f9e56 astyle
8 years ago
gabime 3c4a2bf531 Handle file extensions in rotating and daily loggers
8 years ago
Gabi Melman 587b528292
Merge pull request #556 from jpcima/syslog-build
8 years ago
JP Cimalando ecec210d0e accept msvc_sink on all compilers, add name windebug_sink (fixes #554)
8 years ago
JP Cimalando 76d2620dad correct include path for sink/syslog_sink.h
8 years ago
daylanKifky 10772eadae fix wincolor_sink's common.h include
8 years ago
daylanKifky 27e7412640 modified path on quoted #includes
8 years ago
Gabriel Vaduva 3173422786 Background color unchanged
8 years ago
gabime 4371092309 fixed gcc shadow warnings
8 years ago
Alexei Pastuchov 8fd16fc45e code formatting (astyle and dos2unix)
8 years ago
Cyres 765095db66 Add set_color to ansicolor_sink
8 years ago
Remigiusz Kołłątaj fab55c8a14 Fix for MinGW error: 'There are no arguments that depend on a template parameter'
8 years ago
gabime 13fb2550c6 Fixed issue #449
9 years ago
Tennn f8d509d010 Fixed issues 449
9 years ago
gabime 42a56f6669 fixed "final" keyword error
9 years ago
gabime d56fa23eb9 fixed compilation errors
9 years ago
gabime 095cb1f560 Added _flush() to base_sink
9 years ago
Gabi Melman e215758b42 Update ansicolor_sink.h
9 years ago
Gabi Melman 87f5a60b90 Update ansicolor_sink.h
9 years ago
gabime 7da3e47ddc fixed color comment
9 years ago
gabime 1f9f9c09a2 fixed flush
9 years ago
gabime 8c240faa7d changed info color to regular insted of bold
9 years ago
gabime 7bbab6889d use data() istead of c_str() in ansicolor_sink
9 years ago
gabime 6cc7e7382e astyle
9 years ago
gabime 7f84daffd5 fixed compilation
9 years ago
gabime 98addad888 Disable colors if terminal no attached and simplfy ansicolor_sink
9 years ago
gabime 1d6842f0f9 bugfix in color detection and astyle
9 years ago
gabime bd25f59a42 Don't use color escape codes if terminal doesn't support them in ansicolor_sink
9 years ago
Gabi Melman 52292fb526 Update android_sink.h
9 years ago
Gabi Melman 6927aa1544 Update android_sink.h
9 years ago
Alexander Zilberkant 2f205a6dbc android sink - add retry mechanism
9 years ago
Jean-Michaël Celerier 53138c20fb Add an optional final qualifier to types
9 years ago
Gabi Melman 9e6d81de08 Merge pull request #422 from theamirocohen/android_log
9 years ago
Amir Cohen 45e3e7041d Android_logger apply its own formatting to every print by adding timestamps, severity, thread and process ids, thus the option flag in the ctor
9 years ago
odeits 6670d3b925 fix typos in base_sink.h
9 years ago
Ľubomír Carik fd8df5b820 Don't hardcode '.txt.' log file name suffix (resolve #333)
9 years ago
Gabi Melman 38456118d0 Update null_sink.h
9 years ago
gabime 5d23e88c16 astyle
9 years ago
Onno Broekmans b61be7320a Fix compilation errors in "wincolor_sink.h"
9 years ago
gabime bd6fe569b5 astyle previous commits
9 years ago
Chen Hayat 0c16b9ae1e Remove casting from previous commit and fix the following Klockwork issues:
9 years ago
Chen Hayat 83d192b1f1 Fix compilation error C2664 on VS2013
9 years ago
Gabi Melman 698783861c Fixed vc warning on x64 build
9 years ago
gabime f14d1c002b astyle
9 years ago
gabime 0cfdad4d0b Windows console color support. Replaced color param in API with new functions
9 years ago
gabime 56678a5f6a added set_force_flush(bool) to simple file sink for performance benchmarks
9 years ago
gabime 12800ac466 fixed shadow warnings in gcc
9 years ago
gabime e97621d61d Removed force_flush arg from everywhere. Use flush_on(level) instead
9 years ago
gabime 5653e5c9d7 astyle
9 years ago
Hugh Wang bf02f57475 Fix Android sink.
9 years ago
davide b67076fc85 added level_t to sink. Improves the flexibility of loggers with multiple sinks
9 years ago
Sam Brkopac 0be736c7fc Added the ability to truncate the basic file logger.
9 years ago
gabime b13735dc22 astyle
9 years ago
Nazım Can Bedir 2678c37b56 Move syslog support tests to one place.
9 years ago
gabime 5b2bd79b7e Added support for syslog in FreeBSD
9 years ago
gabime aa0f62292b fixed dist_sink in gcc
9 years ago
gabime 916a686f8f astyle
9 years ago
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
10 years ago
gabime 80a432e646 cleaned common.h and moved some code around
10 years ago
Gabi Melman 6d5bce46f8 Revert "CMake script improvements"
10 years ago
Kevin M. Godby e10a2fca65 Added missing base_sink.h include.
10 years ago
eao197 ef9842c36d daily_file_sink with custom file name calculator
10 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
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