gabime
c962c88342
Fixed linux port of v1.x
2018-04-20 13:20:19 +03:00
gabime
c80cc3306f
Fixed tests
2018-04-20 03:04:53 +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
924ef84241
Refactred spdlog.h and console sinks. Added global lock for all console sinks (traits)
2018-04-18 02:04:10 +03:00
gabime
6f4cd8d397
thread_pool and refactoring async
2018-04-14 03:34:57 +03:00
gabime
4445f6f869
formatting
2018-03-16 17:35:56 +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
Daniel Chabrowski
5355bd3a8f
readability-named-parameter
2018-02-25 12:39:37 +01:00
Daniel Chabrowski
0c94ce0039
deleted copy op and a little format
2018-02-25 03:35:20 +01:00
gabime
04d0dd5987
moved SPDLOG_VERSION macro to common.h
2018-02-23 14:39:41 +02:00
gabime
051048ebd7
Fixed issue #645 (include tweakme.h from common.h)
2018-02-23 14:34:25 +02:00
gabime
ccd675a286
version 0.16.3
2018-01-12 14:09:34 +02:00
Gabi Melman
32177aa77a
Merge pull request #604 from sam-lunt/improve-macros
...
Ensure marcos always expand to expressions
2018-01-03 18:05:25 +02:00
Sam Lunt
9f8413308a
add global flush_on function
2018-01-03 09:36:09 -06:00
Sam Lunt
f25f0e0e40
add (void)0 when logging is disabled
2018-01-03 09:07:58 -06:00
gabime
813dcbcf63
version 0.16.2
2017-12-22 18:50:08 +02:00
Gabi Melman
79a3a633c7
uupdate version to 0.16.1
2017-12-20 10:07:50 +02:00
Ľubomír Carik
dda8af0092
Update version strings to 0.16.0
...
Signed-off-by: Ľubomír Carik <Lubomir.Carik@anritsu.com>
2017-12-20 03:43:47 +01:00
gabime
6dd928dc3c
Undo fix #529 (causes a warning under gcc and clang when no args passed)
2017-12-20 00:04:16 +02:00
gabime
de595fe2b7
Fix #529 (SPDLOG_TRACE macro problem)
2017-12-19 23:09:27 +02:00
Alexandr Dubovikov
bec6919587
added facilty for syslog
2017-12-04 13:03:40 +01: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
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
93be7713e0
astyle
2017-11-06 12:39:04 +02:00
Berkus Decker
a6b5ef55a4
Fix typo
2017-10-24 13:34:58 +03:00
gabime
21ed31844c
fixed bug in SPDLOG_TRACE_IF macro and added some related tests
2017-10-13 02:04:31 +03:00
El El
b242fb087d
Compiler-dependent line numbering
2017-08-25 15:19:29 +00:00
Gabi Melman
4fba14c79f
Version 0.14.0
2017-08-19 18:48:43 +03:00
gabime
cb02b344a3
Fix issue #510 (spelling)
2017-08-19 15:49:16 +03:00
Matt Crane
13a938fc7f
Added TRACE_IF and DEBUG_IF macro definitions when TRACE_ON and DEBUG_ON aren't defined
2017-07-22 21:42:20 -04:00
Asit Kumar Dhal
97be4532cc
trace_if and debug_if macro added
2017-06-18 01:12:11 +02:00
Carsten Neumann
8ee90d3349
Add create_async factory functions for async loggers
2017-06-15 11:08:44 -05:00
Tennn
f8d509d010
Fixed issues 449
...
Please check it
2017-05-21 17:44:44 +08:00
gabime
f85a08622e
version 0.13.0
2017-03-28 02:09:01 +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
93d84e5d59
v0.12.0
2017-02-17 16:40:59 +02:00
Gabi Melman
054eb555ca
Moved SPDLOG_VERSION
macro to spdlog.h
2017-02-03 15:28:32 +02:00
Gabi Melman
4f50c5d143
Update spdlog.h
2017-02-03 15:27:06 +02:00
gabime
0cfdad4d0b
Windows console color support. Replaced color param in API with new functions
2016-10-12 15:10:10 +03:00
gabime
5653e5c9d7
astyle
2016-09-15 00:38:21 +03:00
Hugh Wang
72a6fd65da
Support direct creation of android logger.
2016-09-14 17:37:06 +08: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
gabime
e562e001cf
Removed force_flush arg from API (use flush_on(level) instead)
2016-09-02 16:59:15 +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
Nazım Can Bedir
2678c37b56
Move syslog support tests to one place.
2016-08-22 16:39:13 +03:00
gabime
86de264da9
Added support for syslog in FreeBSD
2016-08-21 01:16:04 +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
39cdd08a54
no exceptions while logging
2016-08-05 03:56:40 +03:00
gabime
8e0892fa31
astyle
2016-07-15 17:55:34 +03:00
gabime
e5032c8db5
fixed SPDLOG_TRACE under gcc (isue #241 )
2016-07-14 14:59:49 +03:00
gabime
7ddfb2b877
fixed macros and other stuff for the no-streams branch
2016-07-09 00:46:00 +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
e16cb511e5
Create a logger with a single sink.
2016-06-17 00:29:12 -05:00
gabime
38c0ee018b
astyle
2016-05-15 01:49:15 +03:00
gabime
80a432e646
cleaned common.h and moved some code around
2016-05-15 01:45:16 +03:00
Philippe Serreault
ee815042dd
In async mode, worker thread can now execute an optional teardown callback upon exit.
...
(Note: this can be helpful when a custom sink invokes a JNI callback, which implies that worker thread was previously attached to JVM, and needs to be cleanly detached upon exit)
2016-05-11 17:22:09 +02:00
gabime
0d26359856
astyle
2016-04-20 11:57:49 +03:00
gabime
19dae96985
wchar filenames support - minor improvements
2016-04-10 00:02:19 +03:00
unknown
113ebcfd97
Add the SPDLOG_USE_WCHAR tweak to enable support for Unicode names on Windows. Refs #111
2016-04-08 12:26:31 -05:00
gabime
495ecaeaee
astyle
2016-04-03 02:14:54 +03:00
gabime
296623baa3
API for color support in console logger
2016-04-03 01:38:49 +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
Sebastian Messmer
7b8d507615
Allow syslog logger on Mac OS X
2016-02-13 15:50:51 +01:00
gabime
8c38b4ee9e
MIT license
2015-11-28 18:24:20 +02:00
gabime
992a4e6077
revert Args& by referebce in create
2015-11-28 16:18:50 +02:00
gabime
cbc8ba7203
Fixed issue #137
2015-11-05 16:06:11 +02:00
gabime
cadd181d8d
Reverted pull #111 - wchar support under windows - it pollutes global namespace with new defines
2015-08-07 14:05:34 +03:00
Artem Martynovich
2b59393bda
Add wchar_t support for Windows.
2015-07-13 19:43:22 +06:00
Denis Ivaykin
432e1109dd
flush interval part 2
2015-05-11 00:17:49 +02:00
gabime
256c64d72f
Fixed registry functions
2015-04-11 17:15:20 +03:00
gabime
623f59ce6f
Added register_logger to spdlog.h to register manually created loggers
2015-04-11 16:36:31 +03:00
gabime
b715378ff5
Added tweakme.h - enable users to enable/disable features at compile time
2015-04-09 18:05:16 +03:00
gabime
f21ec29ca9
fixed SPDLOG_ERROR macro
2015-04-07 17:54:16 +03:00
Gabi Melman
11d4ae7782
Update spdlog.h
2015-03-26 18:52:03 +02:00
Gabi Melman
9fc0ab31d5
Update spdlog.h
...
Update comments about macros
2015-03-26 18:51:22 +02:00
Gabi Melman
d39b495e21
Update spdlog.h
...
Updated comments about macros
2015-03-26 18:48:33 +02:00
Ruslan Mullakhmetov
37541621b7
added convinient macroses passing logging points; replaced force_log to log for SPDLOG_TRACE SPDLOG_DEBUG
2015-03-26 19:18:54 +03:00
gabime
c401e830d0
Added option for setting rotation time in daily file ctor
2015-02-15 23:28:13 +02:00
gabime
fde3d2db99
astyle+comments
2015-02-10 01:56:09 +02:00
gabime
524ca93e91
Comments
2015-01-15 13:48:49 +02:00
Gabi Melman
6cd7b9a2b0
Comments
2015-01-15 12:49:26 +02:00
Gabi Melman
9e88e98d33
Comments
2015-01-15 12:45:00 +02:00
Gabi Melman
fca8070019
Comments
2015-01-15 12:41:35 +02:00
Gabi Melman
665d82d354
Comments
2015-01-15 12:39:22 +02:00
gabi
b74b28f5c6
added includes to common.h
2015-01-15 11:46:51 +02:00
gabime
9f34c58b3e
comments
2015-01-15 11:01:54 +02:00
gabime
89afa909e1
shortened enum policy name and moved into common.h
2015-01-15 10:34:50 +02:00
Denis Ivaykin
295e189b7e
astyle
2015-01-14 15:39:11 -06:00
Denis Ivaykin
365d895482
discard policies on queue overflow
2015-01-14 15:35:01 -06:00
Denis Ivaykin
384cdeb225
nullptr default, astyle
2015-01-14 09:51:22 -06:00
Denis Ivaykin
d47fbbb79e
worker warmup callback
2015-01-14 09:21:34 -06:00
gabi
7635455c8d
Changed "auto_flush" to "force_flush" to better represent the meaning
2015-01-07 12:44:02 +02:00
gabi
bf3997de28
Added drop_all
2014-12-27 13:01:15 +02:00
gabi
3c57133c7a
Fixed bug #26 (SPDLOG_TRACE macro does not work as expected)
2014-12-26 00:44:45 +02:00
gabime
28da625a6f
removed the confusing stop() function
2014-12-21 03:11:40 +02:00
gabime
92f2b7556e
syslog improvments
2014-12-19 18:01:49 +02:00
Gabi Melman
3b61f50cbf
Merge pull request #20 from fooinha/syslog-openlog
...
Syslog openlog
2014-12-18 20:42:51 +02:00
fooinha
375b88c191
Optional arguments for syslog_logger factory.
2014-12-18 15:47:43 +00:00
gabi
348390f90d
Added debug macros
2014-12-18 10:07:21 +02:00
fooinha
8c9a6fc02c
* openlog setup for syslog sink
2014-12-16 15:13:35 +00:00
gabi
d37bded994
More improvements to the async logger
2014-12-07 04:18:07 +02:00
gabime
0db417f9af
merged drop() from master
2014-12-02 02:16:56 +02:00
gabime
4e86da1bdb
typo
2014-11-25 00:27:28 +02:00
gabime
68ee9a7ada
replaced flush_interval with auto_flush boolean
2014-11-25 00:23:55 +02:00
gabi
4cb6aa90b2
New async_logger class and API
2014-11-24 01:29:09 +02:00
gabime
ece27ac952
astyle
2014-11-22 10:29:06 +02:00
Arnaud Kapp
67eef26c26
Add a syslog() based sink for Linux.
...
This commit introduce a new sink: syslog_sink.
This sink is Linux only, and will write log entries to the system
logger, using the syslog() library call.
It is instanciable using spdlog::syslog_logger(name). Note that
the suffix _st or _mt is not present, as syslog() is thread-safe.
I also applied @gabime reviews and added license header.
2014-11-11 13:49:19 +01:00
gabime
5b04fb6850
Remove warning in debian about unused variadic template args
2014-11-07 20:46:47 +02:00
gabi
58688d7d1c
Removed close() from sink to have RAII semantics
2014-11-05 23:07:20 +02:00
gabime
7f81eb881d
small cleanup
2014-11-01 03:47:20 +02:00
gabime
74aae4f368
readme
2014-11-01 03:20:54 +02:00
gabi
567e85e6d4
bench
2014-11-01 02:12:12 +02:00
gabi
31971bf63b
updated example and added more creation functions
2014-10-31 03:17:40 +02:00
gabi
c7b8c762fb
spdlog
2014-10-31 01:13:27 +02:00