Commit Graph

63 Commits

Author SHA1 Message Date
gabime a31719b546 clang-format 2018-11-22 18:49:14 +02:00
gabime f2305fe5bf Support for source file/line logging 2018-11-22 18:47:50 +02:00
gabime 50648553cf clang-format 2018-11-21 16:02:02 +02:00
gabime 70d03fd9c3 Minor optimization 2018-11-21 16:01:28 +02:00
gabime fb1a3a3a12 Micro optimized some formatter flags 2018-11-20 15:40:51 +02: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
gabime 314991ac60 Fixed pattern formatter constructor bug 2018-11-12 12:46:07 +02:00
gabime 34c60e5486 Merge branch 'v1.x' of https://github.com/gabime/spdlog into v1.x 2018-11-12 10:44:43 +02:00
gabime 526f21ae7f Fixed #902 2018-11-12 10:39:34 +02:00
gabime 0e77c3391b New compile time API using SPDLOG_ACTIVE_LEVEL 2018-11-11 18:15:24 +02:00
Gabi Melman f1e79bde2e
Update pattern_formatter.h 2018-11-11 02:27:03 +02:00
gabime 7b6849578b Fixed some clang-tidy warnings 2018-11-11 01:53:51 +02:00
gabime d54e302a28 clang-format 2018-11-11 01:26:57 +02:00
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