Commit Graph

55 Commits

Author SHA1 Message Date
Daniel Chabrowski
7aed498540 modernize-use-default-member-init 2018-02-25 00:38:54 +01:00
Daniel Chabrowski
9ebb9ff318 readability-implicit-bool-cast 2018-02-25 00:16:18 +01:00
Joao Moreno
357a63d914 fix spdlog namespace 2018-01-11 21:58:02 +01:00
Joao Moreno
a938045135 use Sleep in Windows instead of sleep_for
fixes #609
2018-01-11 14:50:47 +01:00
Gabi Melman
b53d207f44
Update file_helper.h 2017-12-23 11:43:41 +02:00
Gabi Melman
fde12195ee
Update file_helper.h 2017-12-22 19:06:01 +02:00
gabime
4ca6991828 astyle 2017-12-22 18:55:19 +02:00
gabime
f695e536dd Fixed file_helper::split_by_extenstion and added more tests for it 2017-12-22 18:37:51 +02:00
Force Charlie
42e5d98a48 fix split_by_extenstion parse error extenstion 2017-12-22 17:52:50 +08:00
gabime
f5939f9e56 astyle 2017-12-01 03:46:19 +02:00
gabime
3c4a2bf531 Handle file extensions in rotating and daily loggers 2017-12-01 03:40:49 +02:00
daylanKifky
27e7412640 modified path on quoted #includes
Paths pointing to the root of the library where replaced for ones relatives to each file.

For example, inside /include/spdlog/details/file_helper.h:

This will look for os.h in /include/spdlog/details/spdlog/details/ which doesn't exists.

replaced with:
2017-11-11 13:44:27 +01:00
Tennn
f8d509d010 Fixed issues 449
Please check it
2017-05-21 17:44:44 +08:00
Gabi Melman
15af514951 Update file_helper.h 2017-04-02 13:05:02 +03:00
gabime
f14d1c002b astyle 2016-10-12 23:08:44 +03:00
gabime
e97621d61d Removed force_flush arg from everywhere. Use flush_on(level) instead 2016-09-18 00:43:42 +03:00
gabime
e7debaacd7 astyle 2016-08-05 04:43:20 +03:00
gabime
74aede0c66 better support for file size in 64 bits 2016-07-31 01:47:55 +03:00
gabime
730f0e02a6 better support for file sizes in 32/64 bits 2016-07-30 19:32:51 +03:00
gabime
c5c6baad74 Added errno description to sdlog exception strings 2016-07-15 17:48:02 +03:00
gabime
38c0ee018b astyle 2016-05-15 01:49:15 +03:00
gabime
80a432e646 cleaned common.h and moved some code around 2016-05-15 01:45:16 +03:00
gabime
0d26359856 astyle 2016-04-20 11:57:49 +03:00
gabime
19dae96985 wchar filenames support - minor improvements 2016-04-10 00:02:19 +03:00
unknown
113ebcfd97 Add the SPDLOG_USE_WCHAR tweak to enable support for Unicode names on Windows. Refs #111 2016-04-08 12:26:31 -05:00
gabime
495ecaeaee astyle 2016-04-03 02:14:54 +03:00
Kevin M. Godby
077c3095eb Added missing standard header includes. 2016-02-24 22:20:07 -06:00
Kevin M. Godby
196689f720 Fixed header include problems. 2016-02-24 21:26:18 -06:00
gabime
a9fb96e088 1. Fixed file_helper::exists() bug under windows which returned false in some circumstances
2. Improved file_helper::exists() performance under linux to use stat sys call
3. Added unit tests
2015-12-12 20:53:00 +02:00
gabime
0b1ab6c13a fixed gcc shadow warning 2015-11-29 21:31:38 +02:00
gabime
8c38b4ee9e MIT license 2015-11-28 18:24:20 +02:00
gabime
0f76db880e astyle 2015-11-28 16:52:02 +02:00
gabime
ea1a92769b Fixed rotating_logger_mt does not rotate properly if app restarts #116 2015-08-14 21:16:08 +03:00
gabime
cadd181d8d Reverted pull #111 - wchar support under windows - it pollutes global namespace with new defines 2015-08-07 14:05:34 +03:00
Artem Martynovich
5508607dfa Fix incorrect string type for fopen_s. 2015-07-15 11:24:49 +06:00
Artem Martynovich
7ee0ec0728 Fix remaining wstring issues in file_helper. 2015-07-14 15:47:20 +06:00
Denis Ivaykin
849b5cb84e flush 2015-05-08 22:57:52 +02:00
gabi
7635455c8d Changed "auto_flush" to "force_flush" to better represent the meaning 2015-01-07 12:44:02 +02:00
gabime
40a55b8e34 astyle 2014-12-21 02:47:04 +02:00
gabime
d163b8c45a astyle 2014-12-21 02:42:37 +02:00
Jens Breitbart
67b633880b Replaced throw() with noexcept and removed some unneeded ';'. 2014-12-20 15:06:36 +01:00
gabime
e87af08180 some small cleanup and define WIN32_LEAN_AND_MEAN 2014-12-19 18:44:17 +02:00
gabime
fcd1fc037f append instead of truncate when opening new files 2014-12-19 18:36:45 +02:00
gabi
243dc61e58 async using lockfree queue and bug fixes regarding usage of cppformat 2014-12-02 16:41:12 +02:00
gabi
8974d2ded9 Using cppformat for all formatting needs instead of fast_oss 2014-11-29 12:25:37 +02:00
gabime
68ee9a7ada replaced flush_interval with auto_flush boolean 2014-11-25 00:23:55 +02:00
gabime
ece27ac952 astyle 2014-11-22 10:29:06 +02:00
gabi
fd3f13cd90 revert sink accepting only char* and size_t 2014-11-21 00:48:07 +02:00
gabi
66039c7c0e Simplified sink interface - to just accept char* and size_t 2014-11-21 00:13:24 +02:00
gabime
a9abfbb005 Fixed rotate bug 2014-11-15 18:42:53 +02:00