Commit Graph

1049 Commits

Author SHA1 Message Date
gabime
0cfdad4d0b Windows console color support. Replaced color param in API with new functions 2016-10-12 15:10:10 +03:00
Gabi Melman
94dbefe9b6 Merge pull request #296 from guoxiao/fix
Fix several compiler warnings
2016-10-09 11:39:49 +03:00
Guo Xiao
73e53c7cb6 Remove extra ';' 2016-10-09 15:36:19 +08:00
Guo Xiao
9b218d4d12 Convert off_t to size_t 2016-10-09 15:36:19 +08:00
Gabi Melman
541dd88a97 Update common.h 2016-10-09 01:55:47 +03:00
Gabi Melman
ca928bc1b0 Fix issue #295
vs 2013 not supports std::atomic_int
2016-10-09 00:41:29 +03:00
Gabi Melman
b642482432 removed empty line 2016-10-08 20:58:29 +03:00
gabime
703a1d9736 added g3log crush example 2016-10-01 18:15:21 +03:00
gabime
6ce507eceb bench: added latency comparison with g3log 2016-10-01 16:55:13 +03:00
gabime
56678a5f6a added set_force_flush(bool) to simple file sink for performance benchmarks 2016-10-01 16:37:33 +03:00
gabime
12800ac466 fixed shadow warnings in gcc 2016-09-30 14:08:31 +03:00
gabime
faa184ce24 Added #ifdef __ANDROID__ to spllog_impl.h 2016-09-29 23:49:03 +03:00
Gabi Melman
fa175d6300 Merge pull request #289 from thomas-frantz/expose_sinks
Exposed logger sinks.
2016-09-25 03:47:36 +03:00
Therenall
66b08294ca Exposed logger sinks. 2016-09-24 15:14:05 -04:00
Gabi Melman
9e37f5cef9 Merge pull request #285 from azadkuh/issue280
update os.h to fix filesize() on older win32
2016-09-20 13:14:44 +03:00
amir zamani
811eeef7a6 update os.h to fix filesize() on older win32
_fstat() always fails under older 32bit WinXP/Win2003 targets.

_filelength() just works for both WinXP SDK and later Win7+ 32bit targets.
2016-09-20 14:13:15 +04:30
gabime
1f1f6a5f3b Support bench under OSX 2016-09-18 02:28:41 +03:00
gabime
214c67788f add async with null sink bench 2016-09-18 01:51:53 +03:00
gabime
e97621d61d Removed force_flush arg from everywhere. Use flush_on(level) instead 2016-09-18 00:43:42 +03:00
gabime
b0f8230783 Fixed bug in basic_logger creating (passed truncate to force_flush arg) 2016-09-18 00:14:56 +03:00
Gabi Melman
9c04504881 Update README.md 2016-09-16 02:58:02 +03:00
gabime
5653e5c9d7 astyle 2016-09-15 00:38:21 +03:00
gabime
6312748cc7 updated bundled fmt to version 1fb0586b065c4202e976528a6bdc6384dc56dc04 2016-09-15 00:35:51 +03:00
Gabi Melman
87d79eb95d Merge pull request #277 from hghwng/master
Fix compilation on Android.
2016-09-14 17:55:43 +03:00
Hugh Wang
96267654e6 Add Android examples. 2016-09-14 17:39:15 +08:00
Hugh Wang
72a6fd65da Support direct creation of android logger. 2016-09-14 17:37:06 +08: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
Hugh Wang
f2c9692438 Fix compilation on Android. 2016-09-14 17:37:06 +08:00
Gabi Melman
59bf37f769 Merge pull request #279 from facontidavide/loglevel_per_sink
Loglevel per sink. Thanks @facontidavide
2016-09-13 00:04:59 +03:00
davide
d79af47a28 added example 2016-09-12 22:28:37 +02:00
davide
b67076fc85 added level_t to sink. Improves the flexibility of loggers with multiple sinks 2016-09-12 22:26:38 +02:00
Gabi Melman
c69df8ae44 Update spdlog.h 2016-09-03 14:15:09 +03:00
Gabi Melman
b18d235b63 Update spdlog.h 2016-09-03 14:08:55 +03:00
Gabi Melman
01ef3d3114 Update async_logger_impl.h 2016-09-03 01:35:10 +03:00
Gabi Melman
d01e288afc fix flush async flush 2016-09-03 01:33:07 +03:00
gabime
3ee1bab316 added std:: to vector decl in bench 2016-09-02 17:24:40 +03:00
gabime
c3757c99d5 remoed zf_log from bench 2016-09-02 17:23:40 +03:00
gabime
2d64a1de1c fixed bench compilation 2016-09-02 17:16:02 +03:00
gabime
0d35df584c removed zf_log from bench 2016-09-02 17:14:48 +03:00
gabime
3afabcd17e astyle 2016-09-02 17:06:00 +03:00
gabime
d2a367fa7c Fixed tests after remove of force_flush arg 2016-09-02 16:59:55 +03:00
gabime
e562e001cf Removed force_flush arg from API (use flush_on(level) instead) 2016-09-02 16:59:15 +03:00
gabime
1df30a0733 support flush_on(..) in async loggers too 2016-09-02 16:19:29 +03:00
gabime
3a12f3c560 fix typo in example 2016-09-02 15:00:51 +03:00
Gabi Melman
f310cc460f Update README.md 2016-08-26 15:39:00 +03:00
Gabi Melman
2fa29987ca Update README.md 2016-08-26 14:16:36 +03:00
gabime
8cf39857ab style 2016-08-26 00:38:08 +03:00
gabime
cb75569541 Fixed issue #266 (Improperly-formatted ISO8601 UTC offset for negative-offset timezones) 2016-08-26 00:37:41 +03:00
Gabi Melman
bf327be7f5 Update README.md 2016-08-24 03:04:55 +03:00
Gabi Melman
6dfdaa3532 Update README.md 2016-08-24 03:03:58 +03:00