Commit Graph

49 Commits

Author SHA1 Message Date
gabime d89baf4c5b Fixed tidy warning 2019-08-28 19:00:35 +03:00
gabime f5492aed12 Unified usage of fmt::memory_buffer across the codebase 2019-08-28 18:46:09 +03:00
gabime db103ff340 Replaced passing time by val istead of ref in helper 2019-07-10 01:42:43 +03:00
gabime bcfa9241b8 Updated copyright headers 2019-06-04 00:09:16 +03:00
gabime 46ef71e3ec Normalized copyright message 2019-05-11 20:06:17 +03:00
gabime e2e3df9013 static lib wip 2019-04-05 16:44:17 +03:00
gabime 452ba76507 Fixed conversion warnings 2019-01-08 17:31:46 +02:00
Gabi Melman b492642282
Update fmt_helper.h 2018-11-27 11:37:09 +02:00
gabime 4ba19821ce Fixed compilation for vs2013 2018-11-25 10:54:06 +02:00
Daniel Chabrowski e751461ff1 Fix template error 2018-11-19 18:59:17 +01: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 7068c45115 Fixed issue #908 2018-11-16 13:28:34 +02:00
gabime 552416bda4 fmt_helper cleanup 2018-11-16 12:55:19 +02:00
gabime 4a34cd0662 Optimized nano seconds formatting 2018-11-12 16:44:34 +02:00
Jerome Meyer 1b391ccd06 Cleanup header file: remove log_msg.h include from fmt_helper.h 2018-10-29 09:55:41 -04:00
gabime 392d126372 Renamed string_view_type -> string_view_t 2018-10-21 23:50:07 +03:00
gabime 894438d5fb Better support for string_view 2018-10-21 12:46:58 +03:00
gabime 4e3e80109a Code formatting 2018-10-19 17:12:35 +03:00
gabime c2a9bf9974 Small refactoring and support wchar again 2018-10-19 16:48:22 +03:00
gabime a5a39c52b0 Added nullptr check to append_string_view 2018-10-19 02:45:35 +03:00
gabime 6355e9895d Major change to log_msg - contain only string_view instead of buffer 2018-10-19 02:15:50 +03:00
Jerome Meyer cb71fea0f6 Use fmt::string_view when logging a C string to avoid unnecessary copy 2018-10-18 11:04:20 -04:00
gabime 0876e39c4f pad3 small optimization 2018-09-28 01:27:37 +03:00
gabime 0879dea444 Fixed clang-tidy warning 2018-09-27 00:39:17 +03:00
gabime 5d7845c138 Added "clone()" support to loggers 2018-08-25 17:55:31 +03:00
gabime d3c1ad29a0 Optimize logging for const char* messages 2018-08-20 12:43:31 +03:00
gabime a58d7594cb Fixed issue #798 and added -Wconversion compiler flag to build 2018-08-17 00:32:13 +03:00
Gabi Melman 85a2bf1c17
Merge pull request #784 from baishuai/v1.x
add new line at end of file, fix compiler warnings #778
2018-08-08 22:29:14 +03:00
baishuai a2fa7a833c add new line at end of file, fix compiler warnings 2018-08-08 22:59:57 +08:00
gabime 05b68b8581 Fixed example and inline 2018-07-26 00:23:44 +03:00
gabime de6ddf4e2a Some code refactoring in formatter 2018-07-26 00:20:31 +03:00
gabime a12a21a18e Improved millis formatting 2018-07-25 23:33:03 +03:00
gabime b0059b290f Fix issue #761 2018-07-20 23:26:52 +03:00
gabime 16ee72da7c clang format 2018-07-10 23:53:00 +03:00
gabime a776a774e1 cache millis in full_formatter 2018-07-09 21:07:44 +03:00
gabime 9dc44c39e7 Fixed bugs in stdout_sinks and in msvc 2018-07-07 14:04:31 +03:00
gabime 39c6eb752a Code formatting 2018-07-07 13:22:43 +03:00
gabime ecd7669e42 Fixed gcc warning 2018-07-05 12:57:14 +03:00
gabime 59f54cda10 Fixed msvc conversion warnings 2018-07-04 10:44:05 +03:00
gabime 1d9e2304be renamed level::to_str() to level::to_c_str() 2018-07-04 02:08:28 +03:00
gabime 1f801828a5 pad6 thread id and micros in formatter 2018-07-04 01:41:05 +03:00
gabime b4349e4226 pre allocate async q memory 2018-07-04 00:38:23 +03:00
gabime 91264ea2f0 small improvment to formatter 2018-06-26 02:32:19 +03:00
gabime e66ee8b710 fix gcc and clang warnings 2018-06-26 02:00:33 +03:00
gabime a6e2f23780 Pattern formatter optimizations 2018-06-26 01:13:02 +03:00
gabime 0c19bdd772 pattern per sink and pattern caching 2018-06-24 01:32:39 +03:00
gabime 9d7a5c253a Moved fmt helpers to new file 2018-06-15 14:15:35 +03:00