Commit Graph

137 Commits

Author SHA1 Message Date
gabime
e2e3df9013 static lib wip 2019-04-05 16:44:17 +03:00
Adi Lester
247c4e55e7
Update os.h 2018-11-27 14:39:41 +02:00
Adi Lester
26d7c27bee
Use _filelengthi64 instead of _fstat64 to calculate file size on x64 machines
For some reason, `_fstat64` fails with errno 22 on Windows Server 2003 x64 when compiled using the `v141_xp` toolset.
Using `_filelengthi64` instead solves this issue
2018-11-27 14:16:25 +02:00
gabime
50648553cf clang-format 2018-11-21 16:02:02 +02:00
gabime
8a0fc92f20 Replaced SPDLOG_DISABLE_TID_CACHING with SPDLOG_NO_TLS 2018-11-15 16:42:42 +02:00
gabime
b368d18b0f Added default logger API 2018-10-12 03:04:55 +03:00
gabime
f4c5c5a367 Replaced noexcept with SPDLOG_NOEXCEPT 2018-10-10 01:01:37 +03:00
gabime
d0beac70bd Removed dead code from os.h 2018-10-10 00:29:34 +03:00
gabime
cbf66ac653 Removed dead code from os.h 2018-10-10 00:29:21 +03:00
gabime
98f9cb8c1f Added noexcept to most of details::os functions 2018-10-10 00:26:52 +03:00
eruiz
39492436ec WIN32: Don't deny access to file sinks from other processes 2018-08-23 12:20:26 -03:00
gabime
9e4925eff0 clang format 2018-07-21 23:48:07 +03:00
gabime
38b3ecb02e use fmt::safe_strerror 2018-06-01 17:07:39 +03:00
gabime
4ec17f1a1a Normalized spdlog include paths 2018-04-29 01:43:42 +03:00
gabime
c962c88342 Fixed linux port of v1.x 2018-04-20 13:20:19 +03:00
gabime
9bffa921ae global mutex stdout stderr sinks 2018-04-16 01:07:22 +03:00
gabime
3fdc7996db code formatting 2018-04-09 15:14:13 +03:00
Gabi Melman
b416685d6f
Fix gcc warning on stat (32 bits) 2018-04-09 02:06:33 +03:00
gabime
c8610d9a86 support for color formatting 2018-04-06 02:24:07 +03:00
gabime
93d41b2c0e fixed gcc warning about struct stat 2018-03-22 20:35:49 +02:00
gabime
18c99682a8 fixed clang warning about uninitialized values 2018-03-17 14:08:10 +02:00
gabime
200815892f Fix clang-tidy warnings about missing braces around if and for statements 2018-03-17 13:42:09 +02:00
gabime
56e4a201ec formatting 2018-03-17 12:47:46 +02:00
gabime
a2653d409f clang-format 2018-03-09 15:26:33 +02:00
gabime
84d3c90b93 Fixed g++ 4.9 warnings after the clang-tidy fixes 2018-02-28 00:11:50 +02:00
Daniel Chabrowski
de642b6263 astyle applied 2018-02-25 12:41:18 +01:00
Daniel Chabrowski
17caf77784 google-build-namespaces 2018-02-25 12:12:34 +01:00
Daniel Chabrowski
0c94ce0039 deleted copy op and a little format 2018-02-25 03:35:20 +01:00
Daniel Chabrowski
e5bbe57f01 cppcoreguidelines-pro-type-member 2018-02-25 01:15:35 +01:00
Daniel Chabrowski
d5a3bb5234 readability-else-after-return 2018-02-25 00:24:47 +01:00
Daniel Chabrowski
9ebb9ff318 readability-implicit-bool-cast 2018-02-25 00:16:18 +01:00
gabime
abc0d43995 astyle 2018-02-23 18:33:03 +02:00
gabime
80163dc6c1 Better support for WinRT 2018-02-23 18:16:43 +02:00
Emad William Farag
55680db160 Support for custom EOL per formatter 2018-02-05 21:51:01 -05:00
gabime
5372d58adc comment 2018-01-12 14:09:07 +02:00
Joao Moreno
a938045135 use Sleep in Windows instead of sleep_for
fixes #609
2018-01-11 14:50:47 +01:00
gabime
3c4a2bf531 Handle file extensions in rotating and daily loggers 2017-12-01 03:40:49 +02:00
gabime
799ba2a57b added SPDLOG_DISABLE_TID_CACHING macro to prevent invalid thread ids after fork 2017-11-26 00:40:47 +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
gabime
93be7713e0 astyle 2017-11-06 12:39:04 +02:00
gabime
f70b2ef3b8 Fixed cygwin support 2017-11-05 01:17:21 +02:00
sheldonlyr
66a2c4993b More meaningful thread id for OSX 2017-06-24 15:38:18 +08:00
Tennn
f8d509d010 Fixed issues 449
Please check it
2017-05-21 17:44:44 +08:00
gabime
6cc7e7382e astyle 2017-05-21 01:56:56 +03:00
gabime
40fc5becff fixed compilation 2017-05-21 01:56:41 +03:00
gabime
98addad888 Disable colors if terminal no attached and simplfy ansicolor_sink 2017-05-21 01:36:03 +03:00
Elias Kosunen
c6c5a46560 Fix OSX builds of details/os.h 2017-05-17 21:14:39 +03:00
gabime
def86e6e20 Fixed forgotten inline keyword 2017-05-17 00:17:46 +03:00
gabime
1d6842f0f9 bugfix in color detection and astyle 2017-05-17 00:06:11 +03:00
gabime
eb92cc35df Merge branch 'master' of https://github.com/gabime/spdlog.git 2017-05-17 00:01:52 +03:00