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
gabi
9e3656a144
Merge branch 'master' of https://github.com/gabime/spdlog
2014-11-07 09:45:39 +02:00
gabi
4fb55903fa
fix in async_sink not to throw in destrcutor in case join failed
2014-11-07 09:43:28 +02:00
gabime
017088d01c
Merge branch 'master' of https://github.com/gabime/spdlog
2014-11-05 23:24:26 +02:00
gabi
ca42657d3c
small improvment in async shutdown
2014-11-05 23:15:18 +02:00
gabi
58688d7d1c
Removed close() from sink to have RAII semantics
2014-11-05 23:07:20 +02: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
gabi
ec4ed98855
comment fix
2014-11-03 09:06:02 +02:00
gabime
7f81eb881d
small cleanup
2014-11-01 03:47:20 +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
gabime
2d075bcfda
bench
2014-10-31 16:34:48 +02:00
gabi
31971bf63b
updated example and added more creation functions
2014-10-31 03:17:40 +02:00
gabi
c7b8c762fb
spdlog
2014-10-31 01:13:27 +02:00
gabi
cbddc8796a
1. renamed lib to to spitlog
...
2. Rotating bugfix
2014-10-30 00:11:06 +02:00
gabi
cda4b9b4d5
bugfix
2014-10-29 00:14:54 +02:00
gabi
ae9d88dbb3
small updates
2014-10-26 02:23:14 +02:00
gabi
e5f4790407
Bug fixes
2014-10-26 01:52:37 +02:00
gabi
b94ca27ce4
file helper
2014-10-26 01:29:50 +02:00
gabime
8fb32dcb65
gcc fixes
2014-10-25 00:44:02 +03:00
gabi
6eaf14191f
many changes:)
2014-10-25 00:32:56 +03:00
gabi
796ec3db89
Added registry
2014-10-24 18:01:11 +03:00
gabi
319db7bccc
Default formatter and common types into common.h
2014-10-24 01:59:39 +03:00
gabi
6080436e8b
Virtual destrcutor
2014-10-22 01:16:34 +03:00
gabi
8e9a7abeb9
Virtual destructor
2014-10-22 01:16:06 +03:00
gabi
86bfcf2408
bugfix
2014-10-19 18:35:41 +03:00
gabi
e7c7bf2384
added forgotten error fn to logger
2014-10-19 18:29:05 +03:00
gabime
e76a365bf1
gcc fix
2014-10-19 18:11:16 +03:00
gabi
ca1286e764
fast_oss minor cleanup
2014-10-19 17:54:23 +03:00
gabi
e148b939fd
utc offset support (%z) in pattern formatter
2014-10-19 17:44:57 +03:00
gabi
32a8b51d05
pattern_formatter support most strftime format
2014-10-19 02:54:45 +03:00
gabi
0c6a0d52d7
fopen_s adapter in details::os
2014-10-18 23:28:16 +03:00
gabi
b36a803469
pass by ref bugfix
2014-10-18 19:03:41 +03:00
gabi
21065ec036
proper swap and move operations on swap oss
2014-10-18 18:35:48 +03:00
gabime
e6345e008b
gcc warnings fix
2014-10-18 16:05:41 +03:00
gabi
5f4d4d0909
small bug fix
2014-10-15 02:24:35 +03:00
gabi
fae9e86a5d
bug fixes
2014-10-15 02:00:31 +03:00
gabi
650486a067
removed the use of str() in when building the log to improve perf even more
2014-10-15 00:46:14 +03:00
gabi
41db99556a
more code cleanup
2014-10-14 08:00:39 +03:00
gabime
391bd396ef
fixed gcc bugs and warnings
2014-10-14 04:56:10 +03:00
gabi
ef330729cb
moved pattern_formatter to details
2014-10-14 04:34:07 +03:00
gabi
001f57279e
renamed isink to sink
2014-10-14 04:26:51 +03:00
gabi
0be8981058
logger class cleanup
2014-10-14 04:14:35 +03:00
gabi
c573d2b7ab
Removed default_formatter and formatters namespace
2014-10-14 04:00:56 +03:00
gabi
481fdbcbb1
Added pattern formatter and updated related stuff
2014-10-14 03:44:40 +03:00
gabi
793d16d547
added fast_istr for fast int_to_string
2014-10-14 03:43:50 +03:00
gabi
f9425bb666
Start of move to variadic template functions in logger
2014-10-12 04:38:06 +03:00
gabi
8fbade29dc
1. moved factory to main namespace
...
2. common.h
2014-10-10 21:37:33 +03:00