gabime
1d6842f0f9
bugfix in color detection and astyle
2017-05-17 00:06:11 +03:00
Sidyhe
8ee6d38501
add wide string to utf8 string support
2017-05-10 21:02:41 +08:00
Oleksii Mandrychenko
d315bba1f8
Initialising members via constructor
2017-03-29 16:06:59 +01:00
Anuradha Dissanayake
ad1c18704d
Disambiguate fmt logging methods that are using variadic templates.
...
As variadic template arguments can be zero length, we need to specify that at least one fmt argument is provided, to distinguish these methods from the existing trivial method that takes no fmt arguments.
Without this, static analysers such as ReSharper flag the logging calls as errors.
2017-03-27 08:58:03 +13:00
Therenall
66b08294ca
Exposed logger sinks.
2016-09-24 15:14:05 -04:00
gabime
5653e5c9d7
astyle
2016-09-15 00:38:21 +03: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
3afabcd17e
astyle
2016-09-02 17:06:00 +03:00
gabime
1df30a0733
support flush_on(..) in async loggers too
2016-09-02 16:19:29 +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
8e0892fa31
astyle
2016-07-15 17:55:34 +03:00
gabime
4f9b4d0145
fixed bug in extra formatting done in async mode
2016-07-09 20:07:55 +03:00
gabime
febdf7324f
astyle
2016-07-09 01:00:16 +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
Kevin M. Godby
d9ff5df830
Moved flush call to logger::_log_msg() function.
2016-05-03 14:52:03 -05:00
Kevin M. Godby
6b966478c1
Automatically flush log if message level is above certain severity.
2016-05-02 17:23:12 -05:00
gabime
0d26359856
astyle
2016-04-20 11:57:49 +03:00
gabime
974379c9be
Added support for SPDLOG_NO_ATOMIC_LEVELS in tweakme.h
2016-04-10 01:37:11 +03:00
gabime
495ecaeaee
astyle
2016-04-03 02:14:54 +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
gabime
8c38b4ee9e
MIT license
2015-11-28 18:24:20 +02:00
gabime
0f76db880e
astyle
2015-11-28 16:52:02 +02:00
gabime
64850dcb0c
small style fixes
2015-05-09 16:03:43 +03:00
Denis Ivaykin
63e0012e34
flush in logger
2015-05-09 13:24:01 +02:00
gabi
06ef01f867
use std::memory_order_relaxed when reading logger's level
2015-01-07 12:35:43 +02:00
gabi
4fd1ac8ac5
Added support for logger->info(const T&) call style
2015-01-05 23:55:05 +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
b1867cfba3
log levels now lowercase
2014-12-21 01:30:39 +02:00
gabi
348390f90d
Added debug macros
2014-12-18 10:07:21 +02:00
gabi
4637cf35df
Improved perf by using const char* instead of std::string& when accepting format strings
2014-12-08 00:55:45 +02:00
gabi
d0dcc13f7c
small cleanup
2014-12-08 00:09:54 +02:00
gabi
26cf0b38dd
support for API of the form logger.info() << ..
2014-12-02 00:14:38 +02:00
gabi
58970bf1ea
Rethrow cppformat exceptions as spdlog_ex with description of the bad format string
2014-12-01 22:25:31 +02:00
gabi
45628c8ec3
logger main interface now is in the form logger.info(fmt, args)
2014-12-01 00:59:25 +02:00
gabi
4cb6aa90b2
New async_logger class and API
2014-11-24 01:29:09 +02:00
gabi
fd3f13cd90
revert sink accepting only char* and size_t
2014-11-21 00:48:07 +02:00
gabi
66039c7c0e
Simplified sink interface - to just accept char* and size_t
2014-11-21 00:13:24 +02:00
xaqq
e4adba854c
Add NOTICE, ALERT and EMERG log level.
...
This commit introduces 3 new log level. Thoses are:
+ NOTICE, which is a bit worse that INFO, but still not a warn.
+ ALERT, for case worse that critical.
+ EMERG, application is unusable.
With those 3 log levels, spdlog now has all log level accepted by
the syslog() system call.
2014-11-10 18:47:15 +01:00
gabi
2ac49b90e6
Bug fix in registry
2014-11-07 16:57:10 +02:00
gabime
1814c31ff3
fixed gcc warning about unordered intialization
2014-11-07 16:43:27 +02:00
gabi
c054aa7893
Bugfix - logger now has default formatter object at construction
2014-11-07 15:37:02 +02: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
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