Commit Graph

229 Commits (d8f13cbd5bea70f20da22d984bdba93766998a0f)

Author SHA1 Message Date
gabime e8dae26176 Moved spdlog::make_unique to spdlog::details::make_unique and prevent T to be array
7 years ago
gabime 65defd3806 Replaced SPDLOG_FINAL macro with final
7 years ago
gabime ebce97947d use make_unique
7 years ago
gabime b962fbb15c Fixed issue #797
7 years ago
gabime 05d6960ebc code formatting and clang tidy warnings fixes
7 years ago
gabime 74c10df169 Changed SPDLOG_VERSION to be numeric
7 years ago
gabime 9e4925eff0 clang format
7 years ago
gabime 9cbdd5ffd4 Added async_nonblocking factory
7 years ago
gabime 3aaefc48ec Minor cleaning of common.h
7 years ago
gabime 0a3c81826f Changed some functions to accept strings instead of ref to strings for better semantics
7 years ago
gabime 81f29a9a7a Fixed wchar support in messages
7 years ago
Gabi Melman 99cc35384b
Update common.h
7 years ago
gabime 887326e715 minor code cleanup
7 years ago
gabime 7ed8e1b59d renamed async block policy
7 years ago
gabime 95de24e4f6 fixed tests and renamed to_short_str
7 years ago
gabime 1d9e2304be renamed level::to_str() to level::to_c_str()
7 years ago
gabime 94a7152afc async queue - overrun oldsest policy option
7 years ago
gabime 0c19bdd772 pattern per sink and pattern caching
7 years ago
Gabi Melman 58e09dbd33
Update common.h
7 years ago
Gabi Melman e770673f11
Update common.h
7 years ago
gabime 6d5670fde7 format
7 years ago
gabime 5683c06d9a solve issue #724
7 years ago
gabime 65506136e2 solve issue #724
7 years ago
gabime cdbf2e361b Upgrade to fmt 5.x
7 years ago
gabime 378c7789ba Fixed issue #720
7 years ago
gabime a21594bec7 move underscores to the end of private members
7 years ago
gabime 7f6220d960 increase errno string buffer size
7 years ago
gabime 38b3ecb02e use fmt::safe_strerror
7 years ago
gabime 0d7a1d1ef9 format
7 years ago
gabime 8901cbffe0 added catch macro and fixed some tests
7 years ago
gabime caa26a2a47 Normalized spdlog include paths
8 years ago
gabime 56e4a201ec formatting
8 years ago
Gabi Melman 650daf7542
Update common.h
8 years ago
gabime ad221b0990 Changed function name to level::from_str
8 years ago
gabime 461b5ef28a Fixed missing ;
8 years ago
gabime 7f1f7b6232 Changed function name to level::from_str
8 years ago
fegomes 46f9768599 change of scope the name_to_level variable
8 years ago
fegomes c21dd874d1 removed class to return size of array.
8 years ago
fegomes 48c8755d06 include test to convert functions and change suggested by @gabime
8 years ago
fegomes f9750dddee Merge branch 'master' into to_level
8 years ago
Daniel Chabrowski 0c94ce0039 deleted copy op and a little format
8 years ago
Daniel Chabrowski ad624432d8 google-explicit-constructor
8 years ago
Daniel Chabrowski fb6df0512f modernize-use-override
8 years ago
Daniel Chabrowski 7f4c1bb77c modernize-use-using
8 years ago
gabime 04d0dd5987 moved SPDLOG_VERSION macro to common.h
8 years ago
gabime 051048ebd7 Fixed issue #645 (include tweakme.h from common.h)
8 years ago
Fernando Gomes f4ffddc942
Merge branch 'master' into to_level
8 years ago
gabime 5ab033fba5 Fix issue #629
8 years ago
fegomes 8696ad8739 new function to convert level_enum from string
8 years ago
gabime adbc22096a enable final keyword by default. Can be disabled in tweakme.h for older compilers
8 years ago
gabime e7cf25a1c0 fixed issue #562
8 years ago
gabime 8ca1d84a32 Removed catch(..) from the codebase. Catch only std::exception
8 years ago
daylanKifky 27e7412640 modified path on quoted #includes
8 years ago
Costin Manolache f4f3e3fb66
Use __ANDROID__
8 years ago
Costin Manolache 23dd8d3559
Allow compilation on platforms with unwind (android)
8 years ago
manuel-schiller 039b34e83a rethrow unwind exception
8 years ago
Asit Kumar Dhal 3a40f0c34d fixed length and upper case log level tags
8 years ago
Gabi Melman 9470bdd3ec Update common.h
8 years ago
ThePhD d98d54896b use if statement instead of switch (changes of adding new time specifications outside of standard are probably unlikely anyhow)
8 years ago
ThePhD 5c5080d304 implement a flag (in this case, an enumeration) that allows control over the type; we make it an enum for possible expansions of time abstractions that might make it into the C++ standard in the future (see Howard Hinnant's date/timezone library) or might be usefully-available from the OS at some point in time
8 years ago
Tennn f8d509d010 Fixed issues 449
9 years ago
Jean-Michaël Celerier 4da5fa256c add SPDLOG_FINAL information in tweakme.h
9 years ago
Jean-Michaël Celerier 53138c20fb Add an optional final qualifier to types
9 years ago
Gabi Melman 7481a8ecf7 Update common.h
9 years ago
Gabi Melman 904bed92c3 Added SPDLOG_VERSION macro to common.h
9 years ago
Gabi Melman 9eee823041 Fix issue #315
9 years ago
Gabi Melman 541dd88a97 Update common.h
9 years ago
Gabi Melman ca928bc1b0 Fix issue #295
9 years ago
gabime b13735dc22 astyle
9 years ago
gabime 20cb73e9da disable syslog by default (enable by #define SPDLOG_ENABLE_SYSLOG )
9 years ago
Nazım Can Bedir 097ba5a359 Add basic support for Solaris.
9 years ago
Nazım Can Bedir e277f9b05c Make syslog backend tweakable.
9 years ago
Nazım Can Bedir 2678c37b56 Move syslog support tests to one place.
9 years ago
gabime 39cdd08a54 no exceptions while logging
9 years ago
gabime 0ae66b5b28 support for external fmtlib
9 years ago
Gabi Melman f702dce601 Update common.h
9 years ago
gabime 8e0892fa31 astyle
9 years ago
gabime c5c6baad74 Added errno description to sdlog exception strings
9 years ago
gabime e5032c8db5 fixed SPDLOG_TRACE under gcc (isue #241)
9 years ago
gabime 30326dad37 removed level defines
9 years ago
gabime 7ddfb2b877 fixed macros and other stuff for the no-streams branch
9 years ago
gabime 5650f10bab DEPRECATED: operator<< API
9 years ago
gabime 80a432e646 cleaned common.h and moved some code around
10 years ago
gabime 10d5292bbb better support for custom eol
10 years ago
gabime cae43ffef5 fixed issue #199 (_MSC_VER update for vs 2015 to use noexcept instead of throw())
10 years ago
gabime 0d26359856 astyle
10 years ago
gabime 083d6c0d2f rename atomic level type name
10 years ago
gabime 974379c9be Added support for SPDLOG_NO_ATOMIC_LEVELS in tweakme.h
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
Kevin M. Godby 077c3095eb Added missing standard header includes.
10 years ago
gabime 8c38b4ee9e MIT license
10 years ago
gabime cadd181d8d Reverted pull #111 - wchar support under windows - it pollutes global namespace with new defines
10 years ago
Ilya Kulakov d905ad915f Use only SPDLOG_USE_WCHAR to control whether wchar_t is enabled.
10 years ago
Artem Martynovich 787aa46693 Disable usage of wchar_t in tests.
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
gabime b715378ff5 Added tweakme.h - enable users to enable/disable features at compile time
11 years ago
gabime 8da33db62f Removed redundant "using log_thread_id=size_t"
11 years ago
gabime 4dd31bf031 fixed pedantic gcc errors
11 years ago
gabime 25afbd79b2 Added compile time option to turn off thread id (#define SPDLOG_NO_THREAD_ID in common.h)
11 years ago
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
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.
11 years ago
xaqq e4adba854c Add NOTICE, ALERT and EMERG log level.
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