Commit Graph

46 Commits

Author SHA1 Message Date
gabime
dc166cad92 Added default pattern support for pattern_formatter to avoid parsing pattern when using default pattern 2018-11-11 01:18:57 +02:00
gabime
ba4ed0eb7f micro optimize scoped_padder 2018-11-11 00:48:25 +02:00
gabime
3cdf2b7f04 micro optimize scoped_padder 2018-11-11 00:31:14 +02:00
gabime
3ff541cf77 Optimized scoped_pad 2018-11-10 18:03:11 +02:00
gabime
5c54414be7 Padding support in pattern formatter 2018-11-09 15:18:45 +02:00
gabime
e35414a0f1 Removed redundant casts to string_view 2018-10-30 01:23:17 +02:00
gabime
0d0706a204 Small fix to pattern formatter 2018-10-30 01:14:42 +02:00
gabime
392d126372 Renamed string_view_type -> string_view_t 2018-10-21 23:50:07 +03:00
gabime
871cca2401 Fixed pattern formatter 2018-10-21 23:48:11 +03:00
gabime
894438d5fb Better support for string_view 2018-10-21 12:46:58 +03:00
gabime
70bef682b0 Fixed clang-tidy warning about implicit conversion to string_view 2018-10-19 17:12:02 +03:00
gabime
c2a9bf9974 Small refactoring and support wchar again 2018-10-19 16:48:22 +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
815b52b8fb Fixed implicit conversion to str in c_formatter 2018-10-16 00:12:54 +03:00
gabime
275167d1b0 Micro optimize eol in formatter 2018-10-15 16:22:00 +03:00
gabime
b368d18b0f Added default logger API 2018-10-12 03:04:55 +03:00
gabime
1b8bf35acc Micro optimize: don't init log_msg.msg_id on construction. It will be set anyway later 2018-10-06 01:49:34 +03:00
gabime
0b516733db user buffer.clear() insread of resize(0) 2018-09-27 17:08:21 +03:00
gabime
18df6138a7 clang-format 2018-09-27 02:03:12 +03:00
gabime
8e80081f99 Fixed clang-tidy warning 2018-09-27 00:56:19 +03:00
gabime
e8dae26176 Moved spdlog::make_unique to spdlog::details::make_unique and prevent T to be array 2018-09-26 23:48:36 +03:00
gabime
65defd3806 Replaced SPDLOG_FINAL macro with final 2018-09-26 14:33:37 +03:00
gabime
3698c1d2f1 added spdlog namespace when calling make_unique 2018-09-02 01:27:28 +03:00
gabime
ebce97947d use make_unique 2018-09-01 21:30:05 +03:00
gabime
05d6960ebc code formatting and clang tidy warnings fixes 2018-08-13 10:30:02 +03:00
gabime
8008d7fe53 Replace emplace_back with push_back in pattern_formatter 2018-08-13 09:09:49 +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
33329c80a9 code formatting 2018-07-23 00:13:52 +03:00
gabime
693103af9c support set_formatter in spdlog.h 2018-07-22 21:52:46 +03:00
gabime
7184c42376 Changed some static string array to char* arrays 2018-07-22 13:06:16 +03:00
gabime
9e4925eff0 clang format 2018-07-21 23:48:07 +03:00
gabime
9df2bd256e Changed some functions to accept strings instead of ref to strings for better semantics 2018-07-19 14:54:26 +03:00
gabime
16ee72da7c clang format 2018-07-10 23:53:00 +03:00
gabime
ef111ddba2 Fix issue #736 2018-07-10 20:20:55 +03:00
gabime
4a59ea3b1e Fixedconversion warning in 32 bits 2018-07-10 10:40:09 +03:00
gabime
f9019870da Merge branch 'v1.x' of https://github.com/gabime/spdlog into v1.x 2018-07-10 10:34:08 +03:00
gabime
a776a774e1 cache millis in full_formatter 2018-07-09 21:07:44 +03:00
gabime
c887907d4a faster reset of cached buffer 2018-07-09 15:10:43 +03:00
gabime
b4dcd592d8 faster reset of cached buffer 2018-07-09 15:10:24 +03:00
gabime
21524c16fa faster reset of cached buffer 2018-07-09 15:05:48 +03:00
gabime
81f3cc5575 clang format 2018-07-08 16:26:25 +03:00
gabime
887326e715 minor code cleanup 2018-07-08 01:41:32 +03:00
gabime
c9331594bb Renamed file to pattern_forammter.h and fixed utc support 2018-07-07 16:15:17 +03:00
gabime
cbc4db8649 Renamed filename and other small formatter changes 2018-07-07 15:34:25 +03:00