Commit Graph

2667 Commits

Author SHA1 Message Date
gabime
5f27697198 clang-format 2019-07-10 02:42:47 +03:00
gabime
261d2c5ae4 Protected from size_t to int overflow in systemd sink 2019-07-10 02:25:11 +03:00
gabime
847f7de003 Simplify syslog sinks overflow check 2019-07-10 02:19:16 +03:00
gabime
dffc8df3e0 Merge branch 'v1.x' of https://github.com/gabime/spdlog into v1.x 2019-07-10 02:03:48 +03:00
gabime
330d491eba Enable again test building by default in cmake 2019-07-10 01:45:05 +03:00
gabime
db103ff340 Replaced passing time by val istead of ref in helper 2019-07-10 01:42:43 +03:00
gabime
1ac46bacfe Updated formatter bench 2019-07-10 01:41:55 +03:00
gabime
c27a4ee61f Added elapsed flag to formatter 2019-07-10 01:35:22 +03:00
Gabi Melman
2d8c4b1c88
Merge pull request #1140 from mattiasj-axis/fix-syslog-termination
Fix syslog output
2019-07-08 14:25:54 +03:00
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
a4ec91fd06 Cleaned bench folder 2019-07-07 17:58:36 +03: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