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
Gabi Melman
b492642282
Update fmt_helper.h
2018-11-27 11:37:09 +02:00
gabime
cff78f5833
Move logging macros outside the spdlog namespace
2018-11-25 11:20:27 +02:00
gabime
4ba19821ce
Fixed compilation for vs2013
2018-11-25 10:54:06 +02:00
gabime
1e385851d7
Removed padding from from bench_formatters/all
2018-11-25 01:12:12 +02:00
gabime
4643f74a03
Added the all flag to bench formatter
2018-11-25 00:46:24 +02:00
gabime
6453d396bf
Added the all flag to bench formatter
2018-11-25 00:45:43 +02:00
gabime
92921f767e
clang-format
2018-11-25 00:44:51 +02:00
gabime
c251c4ccbb
Added the all flag to bench formatter
2018-11-25 00:44:27 +02:00
gabime
0ce670e45a
Store level names as string_views
2018-11-25 00:36:14 +02:00
gabime
2671b48a6c
Minor performance fix in full formatter
2018-11-24 23:57:39 +02:00
gabime
382478259f
Fix compilation for msvc 2015
2018-11-24 18:27:27 +02:00
gabime
e3c333be47
pattern_formatter - padding_info small refactor
2018-11-24 18:21:25 +02:00
gabime
a1a463787f
Updated example's comment
2018-11-24 18:15:24 +02:00
gabime
a16ff07a06
Show source location if present in default formatter
2018-11-24 18:00:56 +02:00
gabime
3218caf34a
Added some comments
2018-11-24 17:34:33 +02:00
gabime
01583ef540
Clean macros
2018-11-24 17:15:58 +02:00
gabime
dc13700094
Fixed source location and make SPDLOG_TRACE: that only one that inject source location info.
2018-11-24 17:08:13 +02:00
Gabi Melman
1293af093c
call flush_() instead of flush() from looger::sink_it_()
2018-11-24 11:11:03 +02:00
gabime
2998815166
Added missing test file
2018-11-22 21:35:11 +02:00
gabime
9484c4dc05
clang-format
2018-11-22 19:18:43 +02:00
gabime
521b0733d4
Support for source location in async loggers
2018-11-22 19:17:41 +02:00
gabime
a463989278
keep clang-tidy happy
2018-11-22 18:50:56 +02:00
gabime
a31719b546
clang-format
2018-11-22 18:49:14 +02:00
gabime
f97cb00737
Updated macros tests
2018-11-22 18:48:32 +02:00
gabime
f2305fe5bf
Support for source file/line logging
2018-11-22 18:47:50 +02:00
gabime
216cd6935f
Updated formatter-bench to include source location
2018-11-22 17:05:27 +02:00
gabime
3a8f9484d2
Cleaned bench.cpp a little
2018-11-22 16:58:20 +02:00
gabime
3fa76b2d8f
Renamed test filename
2018-11-22 12:31:16 +02:00
gabime
50648553cf
clang-format
2018-11-21 16:02:02 +02:00
gabime
70d03fd9c3
Minor optimization
2018-11-21 16:01:28 +02:00
gabime
0a8cce6984
comments
2018-11-21 14:21:26 +02:00
gabime
fb1a3a3a12
Micro optimized some formatter flags
2018-11-20 15:40:51 +02:00
gabime
52e2722412
Renamed test filenames
2018-11-20 12:14:21 +02:00
Gabi Melman
b64e4464a7
Update current_size_ to 0 in after of truncating in rotation error
2018-11-20 10:26:10 +02:00
Gabi Melman
f1ab6feba2
Merge pull request #919 from DanielChabrowski/fix-compilation
...
Fix template error
2018-11-19 20:02:24 +02:00
Daniel Chabrowski
e751461ff1
Fix template error
2018-11-19 18:59:17 +01:00
Gabi Melman
c7f42d1a4a
Merge pull request #917 from DanielChabrowski/fix-xcode-ci
...
Fix osx build
2018-11-19 19:39:59 +02:00
Daniel Chabrowski
6232ec78f7
Change count_digits to depend on template param, not size_t
2018-11-19 18:34:52 +01:00
Daniel Chabrowski
f09d0f2301
Add helper for count_digits
2018-11-19 18:12:50 +01:00
Daniel Chabrowski
14a071c478
Fix osx build
2018-11-19 02:54:02 +01:00
gabime
e601ebe19b
Updated formatter-bench
2018-11-16 14:13:29 +02:00
gabime
7068c45115
Fixed issue #908
2018-11-16 13:28:34 +02:00
gabime
3bfcb0468e
clang-format
2018-11-16 12:56:57 +02:00
gabime
b2735eb30c
Fixed fmt_helper tests
2018-11-16 12:56:36 +02:00
gabime
552416bda4
fmt_helper cleanup
2018-11-16 12:55:19 +02:00
gabime
b522413085
Replaced SPDLOG_DISABLE_TID_CACHING with SPDLOG_NO_TLS
2018-11-16 10:07:31 +02:00
gabime
8a0fc92f20
Replaced SPDLOG_DISABLE_TID_CACHING with SPDLOG_NO_TLS
2018-11-15 16:42:42 +02:00
gabime
4a34cd0662
Optimized nano seconds formatting
2018-11-12 16:44:34 +02:00
gabime
11d83515dd
Added formatter becnhmarks
2018-11-12 16:13:52 +02:00