Commit Graph

493 Commits (v1.x)

Author SHA1 Message Date
Gabi Melman f2d1d573f5
Fix #1967
4 years ago
steven lunt ab72de5f7a Revert "added spdlog::level::set_string_view to enable alternate log level names without changing the build via SPDLOG_LEVEL_NAMES"
4 years ago
steven lunt 2a16d1d230 added spdlog::level::set_string_view to enable alternate log level names without changing the build via SPDLOG_LEVEL_NAMES
5 years ago
Charles Milette 9e19012cb0
Remove filename_memory_buf_t from headers
5 years ago
Charles Milette f0a4ddd78b
Fix character issues in test_errors.cpp
5 years ago
Charles Milette c691769e46
Fix other build errors and unit tests
5 years ago
Charles Milette 19dc30567e
Fix build errors
5 years ago
Charles Milette a453bccff0
Better support for / separators on Windows, improve wchar filename coverage
5 years ago
ryan-rsm-mckenzie 030d85a9b3 ensure stdout color sinks do not leak windows headers with SPDLOG_COMPILED_LIB
5 years ago
Francesco Biscani fc1ce48dc7 Increase sleep time on a test case to avoid spurious failures.
5 years ago
gabime 3bed78356e Added cfg tests
5 years ago
gabime 8923922f30 Cleaned level loading from env var
5 years ago
gabime 231ca50700 clang-format
5 years ago
gabime 1ac2dcc537 wip fix #1680 again
5 years ago
gabime 3a68eecb28 Fix issue #1680
5 years ago
gabime 32b6f1619f Added tests for issue #1680
5 years ago
gabime 934a9bb23e Fix issue #1617
5 years ago
gabime d6329b9dce Added some stopwatch tests
5 years ago
gabime cd701761f9 clang-format
5 years ago
Raul Tambre 76cdeb62e3 Don't enable C language in CMake
5 years ago
Raul Tambre ae9627c64c Raise CMake requirement to 3.13
5 years ago
Konstantin Podsvirov 075dcee042 Twice tolerance waiting time with MinGW
5 years ago
gabime a0dae55a69 Revert 7f15fb2a21 since it breaks the ABI
5 years ago
Tamas Florin 071206ef59 Add support for custom filename calculator in rotating_file_sink.
5 years ago
Gabi Melman b6c6b30c0d
Delete meson.build
5 years ago
gabime 75c15e8028 Formatted cmake
6 years ago
gabime ff0e430e46 Formatted cmake using cmake-format
6 years ago
Bruce Mitchener 937fe7e909 cmake: Fix tabs, whitespace at EOL.
6 years ago
Gabi Melman 3ac9540351
Update test_file_helper.cpp
6 years ago
Gabi Melman d5709c9d70
temp test appveoyr
6 years ago
gabime 81444265f4 clang-format
6 years ago
Ron Rechenmacher 9e6f5b6b2d add single logger method and log_msg constructor and tests/test_time_point.cpp
6 years ago
gabime 854abdf5e6 Added cmake option SPDLOG_BUILD_ALL
6 years ago
Gabi Melman 34244656a6
Update test_fmt_helper.cpp
6 years ago
gabime a8169a3d6b clang-format
6 years ago
gabime d09e03606c Fixed multiple clang-tidy warnings
6 years ago
gabime b2017f5653 Fixed multiple clang-tidy warnings
6 years ago
gabime c16eb80d7f Fixed multiple clang-tidy warnings
6 years ago
Gabi Melman f57378d8ba
Update test_eventlog.cpp
6 years ago
gabime 0a5ada6411 clang-format
6 years ago
gabime 963f8d3485 Fixed tests
6 years ago
Gabi Melman 60a8c5f1c9 Added padding support and set_pattern to custom_flags
6 years ago
Gabi Melman 752d5685dc Moved pattern formatter from spdlog/details to spdlog/
6 years ago
Gabi Melman c6c517431f wip custom formatter flags
6 years ago
Crunkle a10763138e Fix Windows setenv check
6 years ago
gabime d1819f5f76 clang-format
6 years ago
gabime 7efdcc26fe CMakeLists.txt: use same policy as fmt
6 years ago
gabime 3ab3970dd2 CMakeLists.txt: use same policy as fmt
6 years ago
gabime d14b8a9ad6 Merge branch 'hexdump' of https://github.com/ngugcx/spdlog into ngugcx-hexdump
6 years ago
ngugcx 0f87ba6c93 fix a test case error.
6 years ago
ngugcx f5313f92f1 Enhance to_hex like the unix command hexdump.
6 years ago
gabime efd73ac956 Merge remote-tracking branch 'origin/v1.x' into conf-env3
6 years ago
gabime b7d7334451 Renamed level loaders
6 years ago
gabime 817d2764b6 Fix bench tidy warning
6 years ago
gabime c10be7eaec merge with v1.x
6 years ago
gabime 5370443ece clang-format
6 years ago
Gabi Melman 12f36debae Merge pull request #1414 from BioDataAnalysis/bda_tests_support_empty_eol
6 years ago
Mario Emmenlauer 87acec6a91 Make tests support empty SPDLOG_EOL with new helper method require_message_count()
6 years ago
Mario Emmenlauer 58a5e654f9 tests/utils.cpp: Use binary mode for reading test results, to preserve EOL
6 years ago
gabime 601bdfb1b4 Minor cleanup
6 years ago
gabime 90454a93b2 Update test_eventlog.cpp
6 years ago
Gabi Melman fccee959b1
Merge pull request #1418 from ban-dana/v1.x
6 years ago
bandana2004 4bece787c8 Refactor Event Log sink
6 years ago
Michael R. Crusoe a8d6e60ec6
Enable running the tests against an installed copy of spdlog
6 years ago
tt4g eb234bbf91 Don't run spdlog-utests and spdlog-utests-ho in parallel
6 years ago
bandana2004 db1a221427 Add eventlog_sink for logging to Windows Event Log (local only).
6 years ago
Mario Emmenlauer 622f5eb967 tests/utils.h: removed duplicate entry for count_lines()
6 years ago
gabime 284e6a80ac Fixed cfg tests
6 years ago
gabime 877eee408e renamed loaders with cfg
6 years ago
Gabi Melman 2544fca519
Update test_loaders.cpp
6 years ago
Gabi Melman 0b55e2c332
Update test_loaders.cpp
6 years ago
gabime b105046202 Fixed loaders tests
6 years ago
gabime de20255c71 wip
6 years ago
gabime 1a1c37db7c wip
6 years ago
gabime a87700a28c wip
6 years ago
gabime 1f8e9ad0fc renamed cfg namespace to loaders
6 years ago
gabime e13e978af4 added loaders tests
6 years ago
gabime 28e334c728 Fixed tests
6 years ago
gabime 3a61dcd360 Aceept also 'warn' string in level::from_str()
6 years ago
gabime d25fb08a75 clang-format
6 years ago
gabime cee35f7d24 Added truncate flag (issue #1297)
6 years ago
gabime 436ce16e79 Updated meson tests build
6 years ago
gabime a13b0abb7d Simplify meson for tests
6 years ago
gabime 21f7f78130 Update tests CMakeLists.txt
6 years ago
gabime bb1b24c178 Fixed #1295
6 years ago
gabime 10116b7717 Removed SPDLOG_NO_DATETIME option
6 years ago
gabime 18edb8bd63 Added tweakme options to CMakeLists.txt
6 years ago
gabime e3699070a4 clang-format
6 years ago
gabime cae6c9ab36 Removed lazy argument evaluation from macros
6 years ago
Paul Kunysch eb4a169cfb Improve log macros
6 years ago
gabime 2b8afb38b7 Revert pull #1288
6 years ago
David Yip 288ea11534 Use _FILE_OFFSET_BITS=64 when building tests on Linux 32-bit systems
6 years ago
gabime 4a620a2c5e Merge branch 'Issue-1248' into v1.x
6 years ago
gabime 594d226056 update tests
6 years ago
gabime c19e325b83 Added some tests for create_dir
6 years ago
gabime 88335bd92e clang-format
6 years ago
gabime dbe5c17a96 Renamed file_exists()->path_exists()
6 years ago
gabime c40555c0ac clang-format
6 years ago
gabime bfc76278a9 update tests
6 years ago
gabime a1f283946e updated os::dir_name and tests
6 years ago
gabime 066087b383 Update create_dir
6 years ago
Andrei-Florin BENCSIK 2cc620ef33 Function instead of macro
6 years ago
Andrei-Florin BENCSIK cee705ccd3 Minor cmake code duplication improvement
6 years ago
gabime a8f72424db Merge branch 'Issue-1248' of https://github.com/gabime/spdlog into Issue-1248
6 years ago
gabime 31ed133932 Added dir_name tests
6 years ago
Gabi Melman 5f3521b3d4
Update utils.cpp
6 years ago
gabime 9b7812a0f2 auto create log dir
6 years ago
Florian Pigorsch 4aad51a352 Fix some spelling errors.
6 years ago
gabime 9369fe8c27 Fix #1262
6 years ago
gabime 453be2e08a clang-format
6 years ago
gabime 83497e4dc9 Update test_stdout_api.cpp
6 years ago
gabime 3806a9c320 Added wchar api tests to windows
6 years ago
gabime e42867f0a8 Merge branch 'v1.x' of https://github.com/gabime/spdlog into v1.x
6 years ago
gabime fe20afac17 clang-format
6 years ago
Gabi Melman 10578ff08c
Update test_mpmc_q.cpp
6 years ago
gabime 7733849478 Updated meson build
6 years ago
gabime 545e7d2de8 Fixed clang warning
6 years ago
gabime a9ed6b352b Update utils.cpp
6 years ago
gabime 523eebe47d Update utils.cpp
6 years ago
gabime b303d8bc40 Update tests utils
6 years ago
Gabi Melman fcc6b97f88
Update utils.cpp
6 years ago
gabime adc4398cc5 Fixed widows tests
6 years ago
Gabi Melman c53d26cfca
Update utils.cpp
6 years ago
Gabi Melman c188bee229
Update utils.cpp
6 years ago
Gabi Melman 7f1a89e3f6
Update utils.cpp
6 years ago
gabime 5d46f3fcab Fix windows build
6 years ago
gabime b55d95d365 Update test utils for windows
6 years ago
gabime 494cc8bace Implemented daily sink rotation #661
6 years ago
gabime 5c2855e1c1 wip backtracer
6 years ago
gabime ed8d099607 Fixed #1197
6 years ago
gabime 2eb52cd047 Unified usage of fmt::memory_buffer across the codebase
6 years ago
gabime f5492aed12 Unified usage of fmt::memory_buffer across the codebase
6 years ago
gabime f4d3616c4b Update test_backtrace.cpp
6 years ago
gabime c97c025adb clang-format
6 years ago
gabime 13e9135935 Update test_backtrace.cpp
6 years ago
gabime 5c1e44a93d Added bactrace tests
6 years ago
gabime 75adf9e75e Improved test_sink in unit tests
6 years ago
gabime 408a162044 Removed logger::clone() from API
6 years ago
gabime 0335e3fcc0 Print error and abort instead of throw if SPDLOG_NO_EXEPTIONS is defined
6 years ago
gabime b3ddef2fc2 Minor cmake fix in for tests
6 years ago
gabime f5831d5132 clang-format
6 years ago
Gabi Melman 7a686d4d21
Update CMakeLists.txt
6 years ago
Gabi Melman 7b218737cc
Merge pull request #1126 from mensinda/meson
6 years ago
gabime bb0f3839c1 Updated CMake options and defaults
6 years ago
Daniel Mensinger 822aee2b4f
Added meson build support
6 years ago
gabime f09334dc6f Updated pattern_foramtter tests
6 years ago
gabime 9aa6cdc494 Updated systemd sink and tests
6 years ago
Gabi Melman dc054c3f8a
Merge branch 'v1.x' into v1.x
6 years ago
gabime 94c2810b0a Reduced max padding 128=>64
6 years ago
gabime f03eaaaf33 Fixed dup_filter test
6 years ago