Commit Graph

2507 Commits

Author SHA1 Message Date
Mattias Jernberg
d969f8621d Fix syslog output
payload does not appear to be reliably null terminated and leaks
data. Use size to the formatter to reliably terminate messages.
2019-07-08 13:14:15 +02:00
gabime
fd53472238 Cleaned common.h 2019-07-07 17:22:58 +03:00
gabime
b3ddef2fc2 Minor cmake fix in for tests 2019-07-07 14:09:23 +03:00
gabime
07d753176f Update CMakeLists.txt to not build tests by default 2019-07-07 13:36:46 +03:00
gabime
8d758add63 Relace remaining const char* with string_view_t in the API 2019-07-07 12:55:56 +03:00
gabime
506ab1c735 Merge branch 'v1.x' of https://github.com/gabime/spdlog into v1.x 2019-07-07 12:35:54 +03:00
Gabi Melman
945020e505 Merge pull request #1139 from matt77hias/v1.x
Added fmt::(w)string_view support (v2).
2019-07-06 20:17:16 +03:00
Matthias Moulin
5a7bcd0a4f Update logger.h 2019-07-06 19:00:49 +02:00
Matthias Moulin
ae92279f5c Update spdlog.h 2019-07-06 19:00:17 +02:00
Matthias Moulin
be33f5eb89 Added wstring_view_t 2019-07-06 18:59:45 +02:00
gabime
717a582085 Dont allow including of dup_filter_sink if SPDLOG_NO_DATETIME is defined 2019-07-05 14:28:03 +03:00
gabime
ee87aee4dd Updated bench 2019-07-05 13:39:19 +03:00
Gabi Melman
2d6afeebe1 Update README.md 2019-07-05 12:30:36 +03:00
gabime
49bc58da04 Moved .clang-tidy and .clang-format to scripts dir 2019-07-05 10:49:46 +03:00
gabime
f5831d5132 clang-format 2019-07-05 10:45:37 +03:00
gabime
517ccc4088 Merge branch 'v1.x' of https://github.com/gabime/spdlog into v1.x 2019-07-05 10:45:24 +03:00
gabime
90dd56b839 Fix #1130 2019-07-05 10:44:54 +03:00
Gabi Melman
d1794f4c1b Merge pull request #1133 from Jerry-Ma/patch-1
Add missing include
2019-07-04 01:19:41 +03:00
Zhiyuan "Jerry" Ma
75bb4346b2 Add missing include 2019-07-03 17:01:17 -04:00
Gabi Melman
13477e5478 Update .travis.yml 2019-07-02 09:58:23 +03:00
Gabi Melman
1093897838 Update CMakeLists.txt 2019-07-02 09:57:42 +03:00
Gabi Melman
4d27419d7c Update CMakeLists.txt 2019-07-02 09:50:13 +03:00
Gabi Melman
89e6d66872 Update .travis.yml 2019-07-02 08:41:15 +03:00
Gabi Melman
b97c16a636 Update appveyor.yml 2019-07-01 23:55:09 +03:00
Gabi Melman
751ff59e2a Update .travis.yml 2019-07-01 23:51:05 +03:00
Gabi Melman
64a549d051 Update meson.build 2019-07-01 23:19:57 +03:00
Gabi Melman
7a686d4d21 Update CMakeLists.txt 2019-07-01 15:03:53 +03:00
Gabi Melman
7b218737cc Merge pull request #1126 from mensinda/meson
Add meson support
2019-07-01 14:53:46 +03:00
Gabi Melman
b1520a87c3 Merge pull request #1129 from s-shin/hotfix/daily_file_sink_when_no_datetime_2
Fix one more `msg.time` in daily_file_sink.
2019-07-01 13:41:49 +03:00
Daniel Mensinger
2a2a34601c moved scripts into subdirectory 2019-07-01 12:37:18 +02:00
Daniel Mensinger
3c64b3da97 Added example meson.build 2019-07-01 12:32:12 +02:00
Gabi Melman
e7889e9ce2 Delete spdlogConfigVersion.cmake 2019-07-01 13:19:25 +03:00
Gabi Melman
7c8f45747c Delete spdlogConfig.cmake 2019-07-01 13:19:18 +03:00
Gabi Melman
d37def7a72 Delete CPackSourceConfig.cmake 2019-07-01 13:19:10 +03:00
Gabi Melman
452770e374 Delete CPackConfig.cmake 2019-07-01 13:19:03 +03:00
Shintaro Seki
54e44ab477 Fix one more msg.time. 2019-07-01 19:04:37 +09:00
Gabi Melman
6012d52fdb Merge pull request #1128 from s-shin/hotfix/daily_file_sink_when_no_datetime
Fix rotation condition when SPDLOG_NO_DATETIME is defined.
2019-07-01 12:21:33 +03:00
Shintaro Seki
7ffa0766b4 Fix rotation condition when SPDLOG_NO_DATETIME is defined.
When SPDLOG_NO_DATETIME is defined, the rotation was never worked
because `msg.time` is always zero.
2019-07-01 16:22:56 +09:00
Gabi Melman
d8e17111b9 Merge pull request #1127 from TranslucentTB/v1.x
Fix deprecation warnings in filename_to_str and improve performance of wbuf_to_utf8buf
2019-07-01 05:34:16 +03:00
Charles Milette
9e602a491b Silence narrowing warning 2019-06-30 21:43:28 -04:00
Charles Milette
f529afa625 Use stack allocated space when possible 2019-06-30 21:34:19 -04:00
Gabi Melman
5a4deb6e88 Update README.md 2019-07-01 03:14:08 +03:00
Charles Milette
3bcd3cef2f Fix deprecation warnings in filename_to_str 2019-06-30 19:12:16 -04:00
gabime
fbe6f945f3 Updated travis and appveyor to new cmake options 2019-07-01 02:08:48 +03:00
gabime
bb0f3839c1 Updated CMake options and defaults 2019-07-01 02:06:09 +03:00
Daniel Mensinger
af4026104c Extract version from header file 2019-06-30 16:48:20 +02:00
Daniel Mensinger
822aee2b4f Added meson build support 2019-06-30 16:27:28 +02:00
gabime
f09334dc6f Updated pattern_foramtter tests 2019-06-28 17:31:55 +03:00
gabime
d1d2609f49 Updated syslog_sink 2019-06-28 17:31:28 +03:00
gabime
9aa6cdc494 Updated systemd sink and tests 2019-06-28 17:29:52 +03:00