Commit Graph

235 Commits

Author SHA1 Message Date
Daniel Chabrowski
5d08bd1709 Bump example's cmake version to 3.1
CMake 3.1 is used in main CMakeLists file, no reason not to use it in example.
Threads::Threads is introduced in cmake 3.1.
2018-02-11 21:16:15 +01:00
Daniel Chabrowski
646a140ed4 Specify CXX language explicitly in CMake
Marking project as CXX will disable detecting C compiler and other checks.
Removed 'INCLUDES DESTINATION' as it made the include path appear doubled.
2018-02-11 21:13:33 +01:00
Ryan Carmichael
da51d8dfd3 Fixed spelling mistake in example.cpp 2018-01-24 14:18:05 -06:00
gabime
f5939f9e56 astyle 2017-12-01 03:46:19 +02:00
gabime
3c4a2bf531 Handle file extensions in rotating and daily loggers 2017-12-01 03:40:49 +02:00
gabime
dcc7b347ca Removed all *_if functions (trace_if, debug_if, info_if,..) because they are redundant and confusing way to preform if 2017-11-25 15:19:41 +02:00
gabime
f70b2ef3b8 Fixed cygwin support 2017-11-05 01:17:21 +02:00
gabime
4371092309 fixed gcc shadow warnings 2017-06-29 18:14:17 +03:00
Alexei Pastuchov
8fd16fc45e code formatting (astyle and dos2unix)
it aims to solve the issue #467
2017-06-29 09:51:44 +02:00
Asit Kumar Dhal
97be4532cc trace_if and debug_if macro added 2017-06-18 01:12:11 +02:00
Asit Kumar Dhal
a767f07ba3 Conditional logging in the example 2017-06-17 19:10:52 +02:00
gabime
13fb2550c6 Fixed issue #449 2017-05-21 20:39:54 +03:00
Ľubomír Carik
fd8df5b820 Don't hardcode '.txt.' log file name suffix (resolve #333)
Signed-off-by: Ľubomír Carik <Lubomir.Carik@gmail.com>
2017-02-28 00:59:23 +01:00
gabime
6128a87da2 Fix issue #300 2016-10-20 12:11:31 +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
Hugh Wang
96267654e6 Add Android examples. 2016-09-14 17:39:15 +08: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
gabime
2d64a1de1c fixed bench compilation 2016-09-02 17:16:02 +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
3a12f3c560 fix typo in example 2016-09-02 15:00:51 +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
2678c37b56 Move syslog support tests to one place. 2016-08-22 16:39:13 +03:00
gabime
2705e35a8c updated example 2016-08-21 01:21:18 +03:00
gabime
5b2bd79b7e Added support for syslog in FreeBSD 2016-08-21 00:57:53 +03:00
gabime
4efbd950d6 atyle 2016-08-20 13:55:50 +03:00
gabime
3af247fbd3 Added a way to iterate all registered loggers (issues #238 and #259). 2016-08-20 13:37:36 +03:00
gabime
1c4da3eef3 fixed example async error 2016-08-20 13:26:13 +03:00
gabime
e7debaacd7 astyle 2016-08-05 04:43:20 +03:00
gabime
39cdd08a54 no exceptions while logging 2016-08-05 03:56:40 +03:00
gabime
43a4048b92 astyle 2016-07-22 20:19:26 +03:00
gabime
eff486dbae updated .gtiignore and example vcxproj file 2016-07-22 19:07:24 +03:00
gabime
0ae66b5b28 support for external fmtlib 2016-07-22 18:06:36 +03:00
gabime
01601cef85 fixed tests warnings 2016-07-15 18:41:59 +03:00
gabime
b4923956ce updated gitignore and the example's VS 2015 .sln 2016-07-15 17:52:22 +03:00
gabime
8a25783245 updated example.sln to vs2015 2016-07-11 19:16:02 +03:00
gabime
0bcf4ad806 updated example to vs 2015 2016-07-11 19:01:16 +03:00
gabime
bac8fc24bb gitignore 2016-07-09 04:50:05 +03:00
gabime
7ddfb2b877 fixed macros and other stuff for the no-streams branch 2016-07-09 00:46:00 +03:00
gabime
7885aa478c no streams 2016-07-08 17:50:13 +03:00
gabime
5650f10bab DEPRECATED: operator<< API 2016-07-03 03:43:55 +03:00
gabime
70d0e87328 example update 2016-06-22 00:36:34 +03:00
gabime
a047b58e65 Added "basic_logger_mt/basic_logger_st" to the API 2016-06-22 00:23:55 +03:00
Kevin M. Godby
1c31b42e1a Use CMake Threads package instead of manually specifying -pthread. 2016-06-17 01:07:40 -05:00
Gabi Melman
6d5bce46f8 Revert "CMake script improvements" 2016-05-05 10:19:32 +03:00
Kevin M. Godby
1b444345ab Cleaned up cmake file for examples.
It's no longer a standalone cmake file because cmake was crashing when
reading it as part of the subproject.
2016-05-04 19:53:50 -05:00
gabime
0d26359856 astyle 2016-04-20 11:57:49 +03:00