Gabi Melman
576fec4c36
Update CMakeLists.txt
2019-05-19 17:17:58 +03:00
Gabi Melman
48acafd10d
Update CMakeLists.txt
2019-05-19 17:16:22 +03:00
gabime
2cd53c6ff1
Updated cmake example
2019-05-19 16:34:38 +03:00
gabime
18ccd55725
Removed multisink and test in example
2019-05-19 15:57:22 +03:00
gabime
87eb569929
More updates to CMake (version support , cmake.in)
2019-05-19 15:47:49 +03:00
gabime
92387b1527
Merge branch 'static-lib' of https://github.com/gabime/spdlog into static-lib
2019-05-19 12:27:11 +03:00
David Zemon
6fe899af10
Set Threads::Threads dependency on spdlog libs - don't make user do it
2019-05-17 23:28:53 -05:00
David Zemon
107fe0a142
Ensure header_only library works by adding another example exe
2019-05-17 23:27:44 -05:00
David Zemon
55e7844ca0
Remove the namespaced
...
Namespaces are good for avoiding collisions, but since the
non-namespaced targets still exist, it does no good to add the
namespaced targets on top.
2019-05-17 23:27:44 -05:00
David Zemon
8dd85285e7
Allow user to choose between static or shared library
2019-05-17 23:26:06 -05:00
gabime
872ea6bf09
Deleted redundant Make files and solutions
2019-05-13 01:13:58 +03:00
gabime
d5c9bac3c7
wip static-lib
2019-05-12 23:08:14 +03:00
gabime
1665006401
Minor fix in example
2019-05-12 17:12:08 +03:00
gabime
5220ac4a9e
Added missing header
2019-05-12 17:05:14 +03:00
gabime
fb9e51d943
Fixed include order and example
2019-05-12 00:34:55 +03:00
gabime
bb3dc87953
Fixed include order and example
2019-05-12 00:32:57 +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
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
baefe0b3f6
wip
2019-04-26 15:11:01 +03:00
gabime
7e29c48379
removed spdlite
2019-04-06 12:57:09 +03:00
gabime
97f9cc4bc0
some cleanup
2019-04-06 01:44:03 +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
e9f34fbd26
wip
2019-04-05 23:10:12 +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
gabime
2f907e3a92
clang-format
2019-03-29 14:46:32 +03:00
gabime
9971fd2864
Fixed examples
2019-03-29 14:46:32 +03:00
gabime
ea3943a87a
added printf syntax support for even faster compilation!
2019-03-29 14:46:32 +03:00
gabime
90c912a5e2
wip lite
2019-03-29 14:46:32 +03:00
gabime
478f16234d
wip lite
2019-03-29 14:46:31 +03:00
Budo Zindovic
8d6086da48
Corrected the text alignment in the example
...
I've changed the alignment character in the example to illustrate left alignment of text.
2018-12-06 01:30:07 +01:00
gabime
a1a463787f
Updated example's comment
2018-11-24 18:15:24 +02:00
gabime
c5069135d7
Improved compile time level support
2018-11-12 12:01:10 +02:00
gabime
48597a94e8
Updated example
2018-11-11 18:20:53 +02:00
gabime
e933c5f481
Fixed example
2018-11-11 01:11:09 +02:00
gabime
2ba4b23b85
added padder bench
2018-11-11 00:52:21 +02:00
gabime
5763733490
Fix sdk version in msvc example
2018-10-21 12:49:04 +03:00
gabime
4e3e80109a
Code formatting
2018-10-19 17:12:35 +03:00
gabime
23da9f13b0
Fixed valgrind warning in example
2018-10-19 16:31:43 +03:00
gabime
f2f9f324ec
Updated default API impl and tests
2018-10-13 19:23:11 +03:00
gabime
312fe4775d
Added SPDLOG_DISABLE_DEFAULT_LOGGER option to tweakme.h
2018-10-12 03:16:22 +03:00
gabime
b368d18b0f
Added default logger API
2018-10-12 03:04:55 +03:00
Gabi Melman
8bd4c87d2f
Merge pull request #856 from ulvgard/cmake_android_log_dependency
...
Add dependency to Android's log target in CMake
2018-10-08 12:12:29 +03:00
Gabi Melman
c88b568685
Update example.cpp
2018-10-08 01:46:01 +03:00
Tobias Ulvgard
f01da91abf
Add dependency to Android's log target in CMake
2018-10-03 10:10:37 +02:00
gabime
808bc1f4ed
clang format
2018-09-25 01:11:36 +03:00
gabime
41d879e292
Added support for binary logging using to_hex(..)
2018-09-25 01:03:57 +03:00
gabime
f4bbe8b2b3
Fixed some extra warnings from clang
2018-08-31 14:17:11 +03:00
gabime
5d7845c138
Added "clone()" support to loggers
2018-08-25 17:55:31 +03:00
gabime
91d8869f36
Added "clone()" support to loggers
2018-08-25 17:35:20 +03:00
gabime
a58d7594cb
Fixed issue #798 and added -Wconversion compiler flag to build
2018-08-17 00:32:13 +03:00
Daniel Chabrowski
fb37585bc1
Little cmake and tests refactor
...
Change from spdlog_ex to const spdlog_ex& got rid of the GCC8 warning.
2018-08-14 21:33:47 +02:00
gabime
da30e2ef18
Improved CMakeLists and added bench
2018-08-13 01:22:35 +03:00
Daniel Chabrowski
7e32ccbd8f
Modify travis-ci, fix issues
...
Added:
* Release/Debug job for gcc 7 and clang 3.5
* Debug asan gcc 7 job
* Debug tsan gcc 7 job
* Disabled extensions
* Added a spdlog::spdlog alias for tests
Removed:
* Valgrind workaround, the current version is 3.10.1
* install_libcxx
* Makefiles
Fixed:
* examples build
* multisink build
Workarounds:
* gcc7 with tsan and asan needs gold linker, otherwise build
fails becase of unrecognized option '--push-state'
2018-08-11 02:24:45 +02:00
gabime
caff7296b1
small fix to example.sln
2018-08-05 01:33:52 +03:00
gabime
2894e8de5e
clang format
2018-07-25 00:06:10 +03:00
gabime
cb9c984aa7
registery and periodic flusher fixes.
2018-07-24 22:59:34 +03:00
gabime
9e4925eff0
clang format
2018-07-21 23:48:07 +03:00
gabime
a96b4d7529
Added periodic flusher support, and fixed some registry issues
2018-07-21 23:30:26 +03:00
gabime
41d248f442
Fixed Makefile.mingw example
2018-07-21 00:24:30 +03:00
gabime
c832a39d44
fixed example msvc solution
2018-07-19 15:03:37 +03:00
gabime
c2a49080aa
Refactored sink interface and base_sink
2018-07-14 16:21:53 +03:00
gabime
97c201297f
Udpated example
2018-07-10 10:40:25 +03:00
gabime
f9019870da
Merge branch 'v1.x' of https://github.com/gabime/spdlog into v1.x
2018-07-10 10:34:08 +03:00
gabime
1fd166d417
Updated example
2018-07-08 16:26:14 +03:00
gabime
3c40c5ca5d
Added mulitsink example
2018-07-08 16:20:28 +03:00
gabime
c9331594bb
Renamed file to pattern_forammter.h and fixed utc support
2018-07-07 16:15:17 +03:00
gabime
b07069fb4d
Fixed example
2018-07-07 15:27:17 +03:00
Gabi Melman
4fc59e3e7b
Update example.cpp
2018-07-07 15:05:01 +03:00
Gabi Melman
5fddfca7c6
Update example.cpp
2018-07-07 15:03:57 +03:00
Gabi Melman
745b9e32ed
Update example.cpp
2018-07-07 15:03:34 +03:00
gabime
9dc44c39e7
Fixed bugs in stdout_sinks and in msvc
2018-07-07 14:04:31 +03:00
gabime
39c6eb752a
Code formatting
2018-07-07 13:22:43 +03:00
gabime
72f4fae207
updated example
2018-07-07 12:53:56 +03:00
gabime
b0bf457538
updated example
2018-07-07 12:37:17 +03:00
gabime
cd4dcbab36
Renamed simple_file_sink -> basic_file_sink
2018-07-07 12:12:45 +03:00
gabime
36a823df70
Fixed msvc example solution
2018-07-05 10:55:19 +03:00
gabime
e66ee8b710
fix gcc and clang warnings
2018-06-26 02:00:33 +03:00
gabime
8fdd26da82
Fixed example.cpp
2018-06-24 01:37:34 +03:00
gabime
8b7e19e92f
Bug fixes in pattern_formatter and async_logger
2018-06-13 00:20:54 +03:00
gabime
28ef15d669
updated example
2018-06-10 23:02:53 +03:00
gabime
145fc367f9
updated example
2018-06-10 23:01:46 +03:00
gabime
a21594bec7
move underscores to the end of private members
2018-06-10 22:59:17 +03:00
gabime
4b9949de7b
format
2018-06-01 17:52:05 +03:00
gabime
5997e5aae7
cleaned bench folder to contain only spdlog tests
2018-06-01 17:50:59 +03:00
gabime
8a3c858d36
bench
2018-06-01 17:09:22 +03:00
gabime
f2bc1571b4
update example
2018-05-27 03:21:59 +03:00
gabime
4d7245bb67
update example
2018-05-27 03:18:12 +03:00
gabime
ef5c4f027c
added tp getter to async api
2018-05-27 03:14:55 +03:00
gabime
a43a44bb88
update example
2018-05-27 01:29:13 +03:00
gabime
0d7a1d1ef9
format
2018-05-26 18:48:39 +03:00
gabime
8932b77d63
fixed example
2018-05-26 14:50:27 +03:00
gabime
b9d7c45e40
Use blocking queue
2018-05-22 21:59:27 +03:00
gabime
3c7103d90d
Format
2018-04-29 01:36:45 +03:00
gabime
d389bda2cc
moved file sinks sinks folder
2018-04-29 01:26:10 +03:00
gabime
60f8a68ae0
Splitted file sinks to seperate headers
2018-04-29 01:23:18 +03:00
gabime
e500fa013f
example
2018-04-29 00:35:32 +03:00
gabime
0d61ab82e4
small makefile fix for example
2018-04-29 00:09:56 +03:00
gabime
d51102a168
example.cpp fix
2018-04-28 19:29:10 +03:00
gabime
64c725cee2
Fixed multisink example
2018-04-20 14:03:36 +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
0969118ce7
added default_factory alias
2018-04-20 01:55:31 +03:00
gabime
ba7c4c0530
stdout and color logger factories
2018-04-20 01:50:09 +03:00
gabime
d6cb447667
fixed compile error
2018-04-19 18:41:00 +03:00
gabime
11e068d7a3
Added missing #include
2018-04-19 17:50:18 +03:00
gabime
6f1dc624e6
fix example
2018-04-14 03:47:26 +03:00
gabime
7378cc297c
fix example
2018-04-14 03:43:00 +03:00
gabime
6f4cd8d397
thread_pool and refactoring async
2018-04-14 03:34:57 +03:00
gabime
e9bb008f15
Fixed example
2018-04-09 15:12:51 +03:00
gabime
d352aa0990
Fixed example
2018-04-09 15:11:42 +03:00
gabime
cfb450c059
Fixed eol write in pattern_formatter_impl
2018-04-09 14:14:52 +03:00
gabime
309327187a
Fixed example makefile for clang
2018-04-06 04:36:22 +03:00
gabime
1dea46e1ab
code formatting
2018-04-06 04:06:02 +03:00
gabime
2f7fdf2663
wincolor color formatting support
2018-04-06 03:06:41 +03:00
gabime
d040ab93ea
wincolor color formatting support
2018-04-06 03:04:18 +03:00
gabime
200815892f
Fix clang-tidy warnings about missing braces around if and for statements
2018-03-17 13:42:09 +02:00
gabime
4445f6f869
formatting
2018-03-16 17:35:56 +02:00
gabime
fe5aaf4932
Fixed example
2018-03-16 17:17:33 +02:00
gabime
5afb5dc782
Changed clang formatting for templates
2018-03-16 17:13:50 +02:00
gabime
a2653d409f
clang-format
2018-03-09 15:26:33 +02:00
gabime
2e098421f1
added .log extension to bench test
2018-03-09 12:08:56 +02:00
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