Commit Graph

43 Commits

Author SHA1 Message Date
gabime bcfa9241b8 Updated copyright headers 2019-06-04 00:09:16 +03:00
gabime eea9d6136f Moved default sync factory to seperate file to avoid cyclic includes 2019-06-03 23:56:18 +03:00
gabime 78eeba940a Fix issue #114 2019-06-03 23:20:53 +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 23fdc0eae4 Fixed issue #959 2019-01-17 17:09:35 +02:00
gabime 70bef682b0 Fixed clang-tidy warning about implicit conversion to string_view 2018-10-19 17:12:02 +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 b368d18b0f Added default logger API 2018-10-12 03:04:55 +03:00
gabime 5ec4e60424 Replaced SPDLOG_FINAL macro with final 2018-09-26 15:26:34 +03:00
gabime 4456f96ae3 Fixed clang warnings 2018-08-13 09:21:47 +03:00
rajesh-p 769f11109d
Namespace fix for the issue 785
Added namespace fix
2018-08-09 21:17:53 -07:00
gabime 9e4925eff0 clang format 2018-07-21 23:48:07 +03:00
gabime c2a49080aa Refactored sink interface and base_sink 2018-07-14 16:21:53 +03:00
baishuai 41f708e438 fix bug in android_sink.h 2018-07-13 23:41:26 +08:00
gabime 9dc44c39e7 Fixed bugs in stdout_sinks and in msvc 2018-07-07 14:04:31 +03:00
gabime 0c19bdd772 pattern per sink and pattern caching 2018-06-24 01:32:39 +03:00
gabime a21594bec7 move underscores to the end of private members 2018-06-10 22:59:17 +03:00
gabime caa26a2a47 Normalized spdlog include paths 2018-04-29 01:31:09 +03:00
gabime c962c88342 Fixed linux port of v1.x 2018-04-20 13:20:19 +03:00
gabime e4d3eb64e6 Udpated example and spdlog.h 2018-04-20 02:57:05 +03:00
gabime 56e4a201ec formatting 2018-03-17 12:47:46 +02:00
gabime a2653d409f clang-format 2018-03-09 15:26:33 +02:00
Joao Moreno 357a63d914 fix spdlog namespace 2018-01-11 21:58:02 +01:00
Joao Moreno a938045135 use Sleep in Windows instead of sleep_for
fixes #609
2018-01-11 14:50:47 +01:00
daylanKifky 27e7412640 modified path on quoted #includes
Paths pointing to the root of the library where replaced for ones relatives to each file.

For example, inside /include/spdlog/details/file_helper.h:

This will look for os.h in /include/spdlog/details/spdlog/details/ which doesn't exists.

replaced with:
2017-11-11 13:44:27 +01:00
gabime 13fb2550c6 Fixed issue #449 2017-05-21 20:39:54 +03:00
gabime 1d6842f0f9 bugfix in color detection and astyle 2017-05-17 00:06:11 +03:00
Gabi Melman 52292fb526 Update android_sink.h 2017-05-03 01:18:40 +03:00
Gabi Melman 6927aa1544 Update android_sink.h 2017-05-03 01:17:00 +03:00
Alexander Zilberkant 2f205a6dbc android sink - add retry mechanism
- in some cases subsequent calls to __android_log_write() may result with -EAGAIN error code.
  in such cases spdlog will sleep and try again for number of times defined by
  SPDLOG_ANDROID_LOG_NUM_OF_RETRIES

- defeult SPDLOG_ANDROID_LOG_NUM_OF_RETRIES set to 2 - can be overridden at build time
2017-05-02 22:38:50 +03:00
Amir Cohen 45e3e7041d Android_logger apply its own formatting to every print by adding timestamps, severity, thread and process ids, thus the option flag in the ctor 2017-04-25 19:47:47 +03:00
gabime 5653e5c9d7 astyle 2016-09-15 00:38:21 +03:00
Hugh Wang bf02f57475 Fix Android sink.
1. Remove lock.
2. Improve error detection.
3. Remove unsupported log levels.
2016-09-14 17:37:06 +08:00
gabime 0d26359856 astyle 2016-04-20 11:57:49 +03:00
gabime 495ecaeaee astyle 2016-04-03 02:14:54 +03:00
Kevin M. Godby 077c3095eb Added missing standard header includes. 2016-02-24 22:20:07 -06:00
Kevin M. Godby 196689f720 Fixed header include problems. 2016-02-24 21:26:18 -06:00
gabime 8c38b4ee9e MIT license 2015-11-28 18:24:20 +02:00
gabime 0f76db880e astyle 2015-11-28 16:52:02 +02:00
Gabi Melman ccc66db7fc Update android_sink.h
Removed redundant check
2015-09-15 01:26:31 +03:00
Ruslan Baratov 8fdd4c3547 Add Android sink 2015-09-14 22:08:35 +03:00