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
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
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
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
b85662c536
fixed issue #137
2015-11-05 15:43:37 +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
0e5c4b9de4
Fix Unix build. Use S("...") instead of L"..." for better compatibility.
2015-07-14 02:13:16 +06: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
2a0d00929c
stdout_loggers now thread safe across all instances (share same stdout_sink_mt)
2015-04-18 01:47:30 +03: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
c401e830d0
Added option for setting rotation time in daily file ctor
2015-02-15 23:28:13 +02:00
gabime
89afa909e1
shortened enum policy name and moved into common.h
2015-01-15 10:34:50 +02:00
Denis Ivaykin
365d895482
discard policies on queue overflow
2015-01-14 15:35:01 -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
gabime
28da625a6f
removed the confusing stop() function
2014-12-21 03:11:40 +02:00
gabime
40a55b8e34
astyle
2014-12-21 02:47:04 +02:00
gabime
d163b8c45a
astyle
2014-12-21 02:42:37 +02:00
gabime
92f2b7556e
syslog improvments
2014-12-19 18:01:49 +02:00
fooinha
375b88c191
Optional arguments for syslog_logger factory.
2014-12-18 15:47:43 +00: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
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
gabi
1008f5693d
Fix not defined syslog_logger under windows
2014-11-12 23:56:13 +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
gabi
58688d7d1c
Removed close() from sink to have RAII semantics
2014-11-05 23:07:20 +02:00
gabime
74aae4f368
readme
2014-11-01 03:20:54 +02:00
gabime
e8403e17df
astyle
2014-11-01 02:28:49 +02:00