Commit Graph

659 Commits

Author SHA1 Message Date
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
gabi
a72de9d279 null_mutex 2014-10-10 21:36:32 +03:00
gabi
068a0e3a6b Some syntactic improvements 2014-10-10 21:32:10 +03:00
gabi
b49b086723 Some syntactic improvements 2014-10-10 21:17:26 +03:00
gabi
ae2426e0be Small changes 2014-10-10 03:36:50 +03:00
gabi
2a6ff3b613 Added ostream_sink 2014-10-10 02:46:03 +03:00
gabi
6c7793d47b Modified sinks to be templates with Mutex param to support single threaded sinks 2014-10-10 02:45:23 +03:00
gabi
38468e64d8 sinks now parameterized by mutex T 2014-10-10 02:44:12 +03:00
gabi
f0622c8fb8 factory changes 2014-09-02 00:24:35 +03:00
gabi
8e8c39375a null sink 2014-08-12 00:04:17 +03:00
gabi
ed6532b9f0 replace constexpr with const becasuse vs2013 lack of support 2014-05-13 01:41:04 +03:00
gabime
3d5ee3ff56 small improvments 2014-05-11 03:33:33 +03:00
gabime
4207c40786 astyle 2014-05-11 03:07:21 +03:00
gabime
ff0d313936 stack_buf improvement after code review 2014-05-11 03:05:21 +03:00
gabime
057b9ce602 small change 2014-05-11 03:04:08 +03:00
gabime
7e7fa24013 small change 2014-05-11 03:03:33 +03:00
gabime
c516ac55af stack_buf improvement after code review 2014-05-11 02:59:05 +03:00
gabime
0f919304b8 stack_buf improvement after code revie 2014-05-11 02:56:27 +03:00
gabime
fdaafdf659 reduced fast_oss stack size to 128 2014-05-09 18:05:18 +03:00
gabime
f9f59a545c log_msg to contain logger_name + astyle 2014-05-09 18:00:10 +03:00
gabime
d2178160b0 small line_logger change 2014-05-09 17:11:50 +03:00
gabime
8b070fbabb variable rename in flush_helper 2014-05-09 17:09:25 +03:00
gabi
3244e233a6 Use again back fast_oss.h after code cleanup 2014-05-09 16:33:55 +03:00
gabi
497d511746 log_msg refactoring and raw message support 2014-05-09 15:27:06 +03:00
gabime
bafea6a6b2 remode stack_oss 2014-05-08 02:23:07 +03:00
gabime
b72098101e stackbuf move ctor 2014-05-06 17:38:11 +03:00
gabime
3463dcd1aa log_msg.h 2014-05-06 16:11:31 +03:00
gabime
bde2d24abb astyle 2014-03-31 02:31:26 +03:00
gabime
4696132cd5 added trace log level 2014-03-31 02:29:57 +03:00
gabime
fff6d8f388 nice logger api improvement 2014-03-31 02:24:11 +03:00
gabime
1a795a44de nice logger api improvement 2014-03-31 02:16:03 +03:00
gabime
9e1ba5167a nice logger api improvement 2014-03-31 02:09:13 +03:00
gabime
ff824cdb5a logger small fixes 2014-03-31 01:18:25 +03:00
gabime
98476e229a line_logger fixes 2014-03-31 01:12:49 +03:00
gabime
4c367a4bb5 line_logger fixes 2014-03-31 01:06:46 +03:00
gabime
133ce994d1 async_sink 2014-03-30 23:47:42 +03:00
gabime
28e1c65963 async_sink use unique_ptr instead of shared 2014-03-30 21:25:33 +03:00
gabime
3a1ac8b4d6 async_sink fixes 2014-03-29 13:28:50 +03:00
gabime
7cbf6dcbf7 async_sink fixes 2014-03-29 13:05:51 +03:00
gabime
457cc1170b async_sink fixes 2014-03-29 13:04:42 +03:00
gabime
d50efe9b29 astyle 2014-03-29 02:26:20 +03:00
gabime
4754c6212d revert logging templates 2014-03-29 02:25:52 +03:00
gabime
f090d66066 astyle 2014-03-29 01:38:05 +03:00
gabime
5556967ed9 logger ctor cleanup 2014-03-29 01:20:51 +03:00
gabime
900295611a minor fixes 2014-03-29 00:46:45 +03:00
gabime
1c4be7fb88 logger templates 2014-03-29 00:27:13 +03:00
gabime
c09df09b9c move log_msg to details namespace 2014-03-28 19:03:24 +03:00
gabime
40acfdfbc2 small name changes 2014-03-28 16:16:36 +03:00
gabime
88ff314416 flush_help small change 2014-03-28 16:13:41 +03:00
gabime
f909caf38b moved to log_msg 2014-03-28 16:05:09 +03:00
gabime
0b2bd0fc73 eol_size() 2014-03-28 13:37:14 +03:00
gabime
94513be061 formatter small cleanup 2014-03-28 12:56:08 +03:00
gabime
866270739c formatter small cleanup 2014-03-28 12:52:36 +03:00
gabime
8b53671c06 minor fixes in fast_oss 2014-03-23 01:48:37 +02:00
gabime
4ed60befbc small fixes 2014-03-22 16:37:48 +02:00
gabime
8d83c0b2b0 small clean 2014-03-22 16:29:43 +02:00
gabime
a287bccd40 var names and some minor cleanups 2014-03-22 16:26:08 +02:00
gabime
8494590fb3 astyle+dos2unix 2014-03-22 14:11:17 +02:00
gabime
6a83c34426 logger.h 2014-03-22 14:03:09 +02:00
gabime
4189a406f4 git ignore 2014-03-22 13:48:53 +02:00
gabime
04549b8784 increased fast_os size to 192 2014-03-20 04:20:08 +02:00
gabime
4b3e5b3e1a fast_buf 2014-03-20 04:00:26 +02:00
gabime
ba2b6aea25 fast_buf\! 2014-03-20 03:47:57 +02:00
gabime
d0f3b05f90 formatter msvc support 2014-03-18 19:23:24 +02:00
gabime
da82d8e245 initial reserver of std_devicebuf=128 2014-03-17 15:43:13 +02:00
gabime
d8ddfe5c24 fixes 2014-03-17 02:01:40 +02:00
gabime
0209765b8f reserve capacity to fast_oss 2014-03-16 20:48:37 +02:00
gabime
08ba1791ba platform eol 2014-03-16 19:51:43 +02:00
gabime
9d9a955e94 default format_time performance improvement 2014-03-15 21:05:11 +02:00
gabime
38670cef27 flush helper count writes instead of time 2014-03-14 14:35:46 +02:00
gabime
9d687d1634 fixes 2014-03-08 16:40:47 +02:00
gabime
a6d1ea77ee logger refactoring to init lists and mutex remove 2014-03-08 16:18:57 +02:00
gabime
0caa2dd1e8 removed to_hex from formatter 2014-03-08 12:58:23 +02:00
gabime
6cc426d0e5 console sinks 2014-03-07 01:33:53 +02:00
gabime
c9dd1169f2 returned fast_oss with optimizations 2014-03-07 00:52:50 +02:00
gabi
63812d7a03 small stuff 2014-03-07 00:14:05 +02:00
gabi
bf75bfd9fb Removed fast_oss in favour of simple ostringsream 2014-03-07 00:06:34 +02:00
gabime
5f4bc3086a fixes 2014-03-05 23:07:35 +02:00
gabime
4b5364d356 vs2013 support 2014-03-05 00:31:13 +02:00
gabi
57fe78f1c6 Fix code to support VS2013 2014-03-04 01:23:38 +02:00
gabime
2be33c19fc cache sprintf of time in default formatter 2014-03-04 00:08:30 +02:00
gabime
344b3d2834 remove info_logger 2014-03-02 16:36:06 +02:00
gabime
2ac214aed8 snprinf for msc ver 2014-03-02 16:31:13 +02:00
gabime
b396ff85a7 common_types.h 2014-03-02 15:59:18 +02:00
gabime
3816517e54 static one_hour 2014-03-01 14:46:20 +02:00
gabime
50b81974e3 static one_hour 2014-03-01 14:38:12 +02:00
gabime
ddcf45d65f flush every period 2014-03-01 14:06:58 +02:00
gabime
6f4c780089 flush_helper 2014-02-22 11:57:53 +02:00
gabime
005dc7e605 underscore first in members 2014-02-22 10:34:42 +02:00
gabime
4c8fd99e27 small fix 2014-02-22 10:07:21 +02:00
gabime
e27b45e3f0 removed uneeded files 2014-02-22 01:16:59 +02:00
gabime
c5a8eb5cdb astyle 2014-02-21 22:51:54 +02:00
gabime
3feba27f8b header only\! 2014-02-20 21:39:58 +02:00
gabime
fcb8f1563d small fix 2014-02-13 01:15:31 +02:00
gabime
d8a77c3028 fixes 2014-02-11 21:03:57 +02:00
gabime
be78e51f8c some effic++ warnings fixes 2014-02-09 01:56:21 +02:00
gabime
d60e971dec removed un needed mutex, and added copy ctors to line logger and friends 2014-02-09 01:25:23 +02:00
gabime
1579b24e78 timepoint 2014-02-06 01:21:40 +02:00
gabime
52dc317cfb fixes 2014-02-03 20:28:19 +02:00
gabime
efb6022eba fix 2014-02-02 00:08:30 +02:00
gabime
91e6122819 fix in queue clear 2014-02-02 00:00:29 +02:00
gabime
55eebf76f1 clear fix 2014-02-01 23:49:55 +02:00
gabime
bb529a226d queue clear - operator=(&&) 2014-02-01 02:27:21 +02:00
gabime
65e8349c60 added move support to pop queque 2014-02-01 01:47:37 +02:00
gabime
0cf139bf8a Universal ref support 2014-01-31 22:52:07 +02:00
gabime
a7194295c8 fix queue 2014-01-29 04:08:58 +02:00
gabime
31315db7b2 balagan 2014-01-29 04:00:05 +02:00
gabime
3a30e57d25 fix 2014-01-27 13:20:00 +02:00
gabime
57cd630dc7 fix 2014-01-27 13:07:17 +02:00
gabime
318ab58e10 fix 2014-01-27 13:03:16 +02:00
gabime
9934ea4044 delete 2014-01-27 11:44:10 +02:00
gabime
b093b82473 gcc support 2014-01-26 21:23:26 +02:00
gabi
68504fa3e5 minor stuff 2014-01-26 01:58:59 +02:00
gabi
f7dd08c235 file sinks refactoring 2014-01-26 01:53:23 +02:00
gabi
9727692a83 async_sink 2014-01-25 17:28:56 +02:00
gabi
df56bb775a 1. Added test
2. Fixes
2014-01-25 15:52:10 +02:00
gabi
3e88d785c0 Minor comments 2014-01-25 12:59:43 +02:00
gabi
60c3bb3c41 blocking_queue 2014-01-25 12:50:26 +02:00
gab
681e40ce46 Initial import 2014-01-25 11:09:04 +02:00