Commit Graph

704 Commits

Author SHA1 Message Date
gabime 61e4597488 Removed include of fmt_helper from thrad_pool.h 2019-05-13 00:02:55 +03:00
gabime 6bcb422c80 clang format and SPLDOG_HEADER_ONLY macro 2019-05-12 00:22:39 +03:00
gabime 46ef71e3ec Normalized copyright message 2019-05-11 20:06:17 +03:00
gabime 9564eb2edb Moved cpp files to inl.h 2019-05-11 13:19:53 +03:00
Gabi Melman 14381fe8d0
Update os.h 2019-05-11 03:05:22 +03:00
gabime 1ac6c9f9c2 clang-format static-lib 2019-05-08 17:17:11 +03:00
gabime 5d0eb6dda5 wip static-lib 2019-05-08 17:16:56 +03:00
gabime 69fcaf14e5 wip static-lib 2019-04-27 18:44:48 +03:00
gabime 2de924a187 clang-format 2019-04-27 02:34:50 +03:00
gabime c1c2ff2d07 wip 2019-04-27 02:33:33 +03:00
gabime ff89f1476d Restored error_handler as std::function 2019-04-26 18:14:59 +03:00
gabime c1c6e6265c Fixed header only build 2019-04-09 16:42:44 +03:00
gabime 215b6aea95 file_helper.cpp and filename_t fix 2019-04-06 13:45:33 +03:00
gabime 4dd1a24d0b wip static lib 2019-04-06 01:25:33 +03:00
gabime c69c49047b wip static lib 2019-04-06 00:15:14 +03:00
gabime 2aceb13f3e fix support for utf8 logging under win32 2019-04-05 23:34:55 +03:00
gabime 17f9cdd401 static lib wip 2019-04-05 23:05:46 +03:00
gabime 156b856a80 static lib wip 2019-04-05 16:57:49 +03:00
gabime e2e3df9013 static lib wip 2019-04-05 16:44:17 +03:00
gabime ef8773a89b Moved logger_impl back into logger.h 2019-04-05 13:26:33 +03:00
DanielChabrowski a6229d9e87 Remove pointless log with enable_if 2019-02-06 05:24:25 +01:00
scribam 1798a1fa12
Update log_msg.h
`SPDLOG_NO_THREAD_ID` should only affect thread retrieval.
2019-01-17 00:23:06 +01:00
possiblyhuman 32420b77c8 Reduced amount of macros used.
Removed SPDLOG_SOURCE_MACROS_ON and SPDLOG_FUNCTION_SUFFIX.
2019-01-09 21:15:19 +00:00
possiblyhuman 2124b7bf64 Allow filename/line number at all levels. Add function name %! support. 2019-01-08 22:52:40 +00:00
Ben Ridder fb702f989f Fix typo in file_helper.h
* "extenstion" -> "extension"
2019-01-08 10:09:11 -08:00
gabime 452ba76507 Fixed conversion warnings 2019-01-08 17:31:46 +02:00
Jerome Meyer ce8cf1e152 Fix typos 2018-12-06 16:06:01 -05:00
David P. Sicilia 63a475d88c Do not attempt to default operator= when it is implicitly deleted 2018-11-27 20:23:51 -05:00
Adi Lester 247c4e55e7
Update os.h 2018-11-27 14:39:41 +02:00
Adi Lester 26d7c27bee
Use _filelengthi64 instead of _fstat64 to calculate file size on x64 machines
For some reason, `_fstat64` fails with errno 22 on Windows Server 2003 x64 when compiled using the `v141_xp` toolset.
Using `_filelengthi64` instead solves this issue
2018-11-27 14:16:25 +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
gabime 92921f767e clang-format 2018-11-25 00:44:51 +02:00
gabime 0ce670e45a Store level names as string_views 2018-11-25 00:36:14 +02:00
gabime 2671b48a6c Minor performance fix in full formatter 2018-11-24 23:57:39 +02:00
gabime 382478259f Fix compilation for msvc 2015 2018-11-24 18:27:27 +02:00
gabime e3c333be47 pattern_formatter - padding_info small refactor 2018-11-24 18:21:25 +02:00
gabime a16ff07a06 Show source location if present in default formatter 2018-11-24 18:00:56 +02:00
gabime 3218caf34a Added some comments 2018-11-24 17:34:33 +02:00
gabime dc13700094 Fixed source location and make SPDLOG_TRACE: that only one that inject source location info. 2018-11-24 17:08:13 +02:00
Gabi Melman 1293af093c
call flush_() instead of flush() from looger::sink_it_() 2018-11-24 11:11:03 +02:00
gabime 521b0733d4 Support for source location in async loggers 2018-11-22 19:17:41 +02:00
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 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