gabime
0ae66b5b28
support for external fmtlib
2016-07-22 18:06:36 +03:00
gabime
f5bde237dd
Updated fmt lib to version 0d5ef5c2a66026409b0cfbafa1d2f46cdc5aa4d0
2016-07-15 18:35:43 +03:00
gabime
7885aa478c
no streams
2016-07-08 17:50:13 +03:00
gabime
58699a2bd4
astyle
2016-05-15 01:01:01 +03:00
gabime
10d5292bbb
better support for custom eol
2016-05-15 00:53:35 +03:00
gabime
6760dcebc8
remove unneeded strlen when writing eol at end of each line (pass size of eol to write)
2016-05-14 23:54:48 +03:00
hvellyr
b8425df76a
Support custom eol style using a define in tweakme.h
...
By default use the platform convention (i.e. "\r\n" on windows), but
make it possible to set a custom end-of-line string without implementing
a custom formatter.
2016-05-13 21:20:29 +02:00
gabime
0d26359856
astyle
2016-04-20 11:57:49 +03:00
gabime
495ecaeaee
astyle
2016-04-03 02:14:54 +03:00
gabime
becef922c2
add missing include
2016-03-22 01:41:10 +02: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
0c7beb2e36
fixed issue #173 - timezone as output by %z option has a double negative sign
2016-02-02 23:41:53 +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
Ruslan Baratov
4551467620
Fix misprint
2015-09-17 00:49:17 +03:00
Radu Popescu
b3050aa8a9
fixed issue 115 Nanosecond resolution timestamps
2015-08-04 11:32:13 +02:00
gabime
e8a27a1cee
fixed gcc pedantic warning
2015-04-09 18:14:39 +03:00
gabime
b715378ff5
Added tweakme.h - enable users to enable/disable features at compile time
2015-04-09 18:05:16 +03:00
gabime
a09107927b
Fix Visual Studio poor std::this_thread::get_id() performance by using GetCurrentThreadId() (and pthread_self() under linux)
2015-04-07 20:26:42 +03:00
gabime
acb06ea977
Fixed thread id bug in async mode by passing thread id in log_msg struct
2015-04-07 19:57:27 +03:00
gabime
1150247efa
astyle
2015-03-21 13:55:00 +02:00
gabime
c1dd340a25
Updated cppformat to version 86a7d856fa03fb5ba96f1a27907a4b7171f42e56 and remove spdlog::details namespace from it's source
2015-02-27 11:24:10 +02:00
gabime
fde3d2db99
astyle+comments
2015-02-10 01:56:09 +02:00
Denis Ivaykin
2f34de820b
coarse clock, short log level
2015-01-27 08:31:50 -06:00
Zor X.L
ed4368a63c
add a %f formatter for microseconds
2014-12-28 21:03:00 +08:00
gabime
40a55b8e34
astyle
2014-12-21 02:47:04 +02:00
gabime
d163b8c45a
astyle
2014-12-21 02:42:37 +02:00
fooinha
8c9a6fc02c
* openlog setup for syslog sink
2014-12-16 15:13:35 +00:00
gabi
d817994bd2
Moved namespace fmt to be under spdlog::details to minimize namespace pollution for the users
2014-12-09 00:01:11 +02:00
gabime
52d02af950
using mpmc bounded q for async and many async optimizations
2014-12-05 20:25:04 +02:00
gabime
754cac85ac
defer localtime to formatter to improve async performace
2014-12-04 11:48:53 +02:00
gabi
98e4eb98f9
small optimization in default formatting (unsigned ints)
2014-12-03 00:50:49 +02:00
gabi
243dc61e58
async using lockfree queue and bug fixes regarding usage of cppformat
2014-12-02 16:41:12 +02:00
gabime
7a9781a94c
throw spdlog_err on format errors
2014-12-02 02:16:09 +02:00
gabime
2278e9230f
some fixes for gcc
2014-12-02 00:18:44 +02:00
gabi
b0926326bb
pattern_formatter_impl.h update
2014-12-01 20:17:47 +02:00
gabi
c5afdbddcf
Use fmt::pad for faster formatting of the default format pattern
2014-12-01 18:25:42 +02:00
gabime
73b31e4d10
astyle
2014-11-29 20:02:14 +02:00
gabime
77d9eaa59f
fixes in pattern formatter
2014-11-29 19:33:54 +02:00
gabi
8974d2ded9
Using cppformat for all formatting needs instead of fast_oss
2014-11-29 12:25:37 +02:00
Andre Haupt
3d291f48fa
use std::abs from cstdlib which fixes a warning that occurs when compiling with clang 3.5 on 64-bit linux
...
in file included from ../include/spdlog/sinks/../formatter.h:57:
../include/spdlog/details/pattern_formatter_impl.h:308:26: warning: absolute value function 'abs' given an argument of type 'rep' (aka 'long') but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
auto secs_diff = abs((duration_cast<seconds>(diff)).count());
^
../include/spdlog/details/pattern_formatter_impl.h:308:26: note: use function 'std::abs' instead
auto secs_diff = abs((duration_cast<seconds>(diff)).count());
^~~
std::abs
1 warning generated.
2014-11-07 10:24:17 +01:00
gabime
8b51b3b277
astyle
2014-11-05 02:36:50 +02:00
gabi
0c6518961d
Fix level 4 warnings under VS
2014-11-05 01:47:28 +02:00
gabime
74aae4f368
readme
2014-11-01 03:20:54 +02:00
gabime
e8403e17df
astyle
2014-11-01 02:28:49 +02:00
gabi
567e85e6d4
bench
2014-11-01 02:12:12 +02:00
gabi
c7b8c762fb
spdlog
2014-10-31 01:13:27 +02:00