Commit Graph

557 Commits

Author SHA1 Message Date
Chen Hayat
5259b3dbf4 Fix Klockwork compilation warning 2016-11-03 14:19:02 +02:00
Chen Hayat
b4cb1febf2 removed external library changes 2016-11-02 15:43:30 +02:00
Chen Hayat
0c16b9ae1e Remove casting from previous commit and fix the following Klockwork issues:
1. Removing "return" from void functions.
2. Using "const" for operator= argument.
2016-11-01 17:16:07 +02:00
Chen Hayat
83d192b1f1 Fix compilation error C2664 on VS2013
No converting constructor
2016-10-30 17:11:45 +02:00
gabime
87ddb9a6c1 astyle 2016-10-20 12:14:25 +03:00
gabime
6128a87da2 Fix issue #300 2016-10-20 12:11:31 +03:00
Gabi Melman
698783861c Fixed vc warning on x64 build 2016-10-17 12:50:38 +03:00
gabime
f14d1c002b astyle 2016-10-12 23:08:44 +03:00
gabime
0cfdad4d0b Windows console color support. Replaced color param in API with new functions 2016-10-12 15:10:10 +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
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
Therenall
66b08294ca Exposed logger sinks. 2016-09-24 15:14:05 -04: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
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
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
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
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
3afabcd17e astyle 2016-09-02 17:06:00 +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
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
Sam Brkopac
0be736c7fc Added the ability to truncate the basic file logger.
Added the ability to truncate the basic file logger.
2016-08-22 13:31:43 -07:00
gabime
332b7c0d7f astyle 2016-08-22 22:09:23 +03:00
gabime
4f52cc4dec async flush now waits for queue to be empty before returning 2016-08-22 22:07:29 +03:00
gabime
dfa2c7a950 async flush now waits for queue to be empty before returning 2016-08-22 21:48:57 +03:00
gabime
b13735dc22 astyle 2016-08-22 20:54:18 +03:00
gabime
20cb73e9da disable syslog by default (enable by #define SPDLOG_ENABLE_SYSLOG ) 2016-08-22 20:52:16 +03:00
Nazım Can Bedir
097ba5a359 Add basic support for Solaris. 2016-08-22 17:26:12 +03:00
Nazım Can Bedir
e277f9b05c Make syslog backend tweakable. 2016-08-22 16:39:46 +03:00
Nazım Can Bedir
2678c37b56 Move syslog support tests to one place. 2016-08-22 16:39:13 +03:00
gabime
e556daebc3 better support for thread id in FreeBSD 2016-08-21 01:36:27 +03:00
gabime
86de264da9 Added support for syslog in FreeBSD 2016-08-21 01:16:04 +03:00
gabime
5b2bd79b7e Added support for syslog in FreeBSD 2016-08-21 00:57:53 +03:00
gabime
aa0f62292b fixed dist_sink in gcc 2016-08-20 15:01:08 +03:00
gabime
916a686f8f astyle 2016-08-20 14:55:50 +03:00
gabime
2c32f826ab Merge branch 'master' of https://github.com/gabime/spdlog 2016-08-20 14:54:33 +03:00