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
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
c88b568685
Update example.cpp
2018-10-08 01:46:01 +03: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
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
2894e8de5e
clang format
2018-07-25 00:06:10 +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
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
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
8fdd26da82
Fixed example.cpp
2018-06-24 01:37:34 +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
4b9949de7b
format
2018-06-01 17:52:05 +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
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
d51102a168
example.cpp fix
2018-04-28 19:29:10 +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
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
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
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
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
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
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
0ae66b5b28
support for external fmtlib
2016-07-22 18:06:36 +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
gabime
0d26359856
astyle
2016-04-20 11:57:49 +03: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
gabime
d405027fe9
renamed setColor
2016-03-30 19:52:32 +03:00
gabime
8dbf88f90e
refactor example.cpp
2016-03-30 16:05:09 +03:00
Kevin M. Godby
1c9f1749d3
Added ANSI color sink.
2016-03-15 20:18:08 -05:00
gabime
8c38b4ee9e
MIT license
2015-11-28 18:24:20 +02:00
gabime
74b0268713
Minor example fix
2015-11-28 15:01:45 +02:00
Ruslan Baratov
567954425b
Return unsuccessful exit code if error occurs
2015-09-10 22:58:53 +03:00
gabime
7105fdadf9
added drop_all() to example
2015-04-07 21:16:11 +03:00
gabime
1150247efa
astyle
2015-03-21 13:55:00 +02:00
gabime
abc4ccc513
Fix unused warning in example under gcc
2015-02-15 23:40:45 +02:00
gabime
9cfdfc75b7
Updated example to show daily logger usage
2015-02-15 23:35:55 +02:00
gabime
fde3d2db99
astyle+comments
2015-02-10 01:56:09 +02:00
gabime
e85a3cc33b
removed warning from example.cpp
2015-01-28 23:49:52 +02:00
Gabi Melman
386f75200d
Added example of user defined class with operator<<
2015-01-28 13:37:38 +02:00
Gabi Melman
297cbc1ffc
Updated example
2015-01-28 13:23:15 +02:00
gabime
f3a4174853
astyle.sh
2015-01-15 10:49:05 +02:00
gabime
cd2a484e96
reordered members definition in async_log_helper to prevent gcc warning
2015-01-15 10:27:36 +02:00
gabime
563a42731b
example
2014-12-21 03:04:46 +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
679ad512ea
updated example
2014-12-21 02:37:01 +02:00
gabime
e0b99edc99
updated example
2014-12-21 02:34:52 +02:00
gabime
dbad409b03
updated example
2014-12-21 02:32:23 +02:00
gabime
df9fc0e203
updated example
2014-12-21 02:31:10 +02:00
gabime
14273418d9
updated example
2014-12-21 02:30:33 +02:00
gabime
b1867cfba3
log levels now lowercase
2014-12-21 01:30:39 +02:00
gabime
a50e7ed61e
example update
2014-12-19 20:59:26 +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
gabi
ce6ee347ab
Small fix to example
2014-12-18 10:12:06 +02: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
gabime
03a09705ff
example
2014-12-07 07:24:46 +02:00
gabime
6313174bf1
astyle
2014-12-07 07:18:43 +02:00
gabime
5db6c5163c
exmaple
2014-12-07 07:16:37 +02:00
gabime
7f174a2b2f
fixed example and bench
2014-12-07 06:54:25 +02:00
gabime
159165665d
fixed example
2014-12-07 06:02:46 +02:00
gabime
d89628bb17
fixed makefile
2014-12-02 02:38:31 +02:00
gabime
8d25324444
continue with cppformatter integration
2014-11-29 20:01:01 +02:00
gabime
6cda714e4a
fixed gcc pedantic warnings
2014-11-24 01:38:29 +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
d0678d8a7e
example typo
2014-11-05 23:46:15 +02:00
gabi
58688d7d1c
Removed close() from sink to have RAII semantics
2014-11-05 23:07:20 +02:00
gabi
4728b41e8b
Updated readme and example.cpp
2014-11-03 09:00:28 +02:00
gabi
52598c8130
example update
2014-11-01 21:34:55 +02:00
gabime
74aae4f368
readme
2014-11-01 03:20:54 +02:00
gabime
e8403e17df
astyle
2014-11-01 02:28:49 +02:00
gabime
1c7b3e4eb2
bench
2014-11-01 02:25:51 +02:00
gabi
567e85e6d4
bench
2014-11-01 02:12:12 +02:00
gabime
2d075bcfda
bench
2014-10-31 16:34:48 +02:00
gabi
31971bf63b
updated example and added more creation functions
2014-10-31 03:17:40 +02:00
gabi
cbddc8796a
1. renamed lib to to spitlog
...
2. Rotating bugfix
2014-10-30 00:11:06 +02:00
gabi
b94ca27ce4
file helper
2014-10-26 01:29:50 +02:00
gabime
8fb32dcb65
gcc fixes
2014-10-25 00:44:02 +03:00
gabi
796ec3db89
Added registry
2014-10-24 18:01:11 +03:00
gabi
319db7bccc
Default formatter and common types into common.h
2014-10-24 01:59:39 +03:00
gabime
e76a365bf1
gcc fix
2014-10-19 18:11:16 +03:00
gabi
f4d9c31a2f
bench update
2014-10-18 19:04:24 +03:00
gabime
e6345e008b
gcc warnings fix
2014-10-18 16:05:41 +03:00
gabi
41db99556a
more code cleanup
2014-10-14 08:00:39 +03:00
gabime
beca913851
updated example makefiles
2014-10-14 05:16:16 +03:00
gabi
481fdbcbb1
Added pattern formatter and updated related stuff
2014-10-14 03:44:40 +03:00
gabi
a7f046901d
added bench and example files
2014-10-12 04:40:11 +03:00
gabi
ae2426e0be
Small changes
2014-10-10 03:36:50 +03:00
gabi
2a6ff3b613
Added ostream_sink
2014-10-10 02:46:03 +03:00
gabi
8e8c39375a
null sink
2014-08-12 00:04:17 +03:00
gabi
ed6532b9f0
replace constexpr with const becasuse vs2013 lack of support
2014-05-13 01:41:04 +03:00
gabime
0948a1257d
small cleanup
2014-05-11 03:10:18 +03:00
gabime
4207c40786
astyle
2014-05-11 03:07:21 +03:00
gabime
0f919304b8
stack_buf improvement after code revie
2014-05-11 02:56:27 +03:00
gabi
3244e233a6
Use again back fast_oss.h after code cleanup
2014-05-09 16:33:55 +03:00
gabi
497d511746
log_msg refactoring and raw message support
2014-05-09 15:27:06 +03:00
gabime
bafea6a6b2
remode stack_oss
2014-05-08 02:23:07 +03:00
gabime
b72098101e
stackbuf move ctor
2014-05-06 17:38:11 +03:00
gabime
3463dcd1aa
log_msg.h
2014-05-06 16:11:31 +03:00
gabime
bde2d24abb
astyle
2014-03-31 02:31:26 +03:00
gabime
4696132cd5
added trace log level
2014-03-31 02:29:57 +03:00
gabime
36ef0732b3
nice logger api improvement
2014-03-31 02:24:58 +03:00
gabime
fff6d8f388
nice logger api improvement
2014-03-31 02:24:11 +03:00
gabime
1a795a44de
nice logger api improvement
2014-03-31 02:16:03 +03:00
gabime
9e1ba5167a
nice logger api improvement
2014-03-31 02:09:13 +03:00
gabime
ff824cdb5a
logger small fixes
2014-03-31 01:18:25 +03:00
gabime
4c367a4bb5
line_logger fixes
2014-03-31 01:06:46 +03:00
gabime
afb4f1d8fa
another test of stupid script
2014-03-30 23:52:33 +03:00
gabime
b28e212073
--
2014-03-30 23:50:06 +03:00
gabime
133ce994d1
async_sink
2014-03-30 23:47:42 +03:00
gabime
28e1c65963
async_sink use unique_ptr instead of shared
2014-03-30 21:25:33 +03:00
gabime
3a1ac8b4d6
async_sink fixes
2014-03-29 13:28:50 +03:00
gabime
457cc1170b
async_sink fixes
2014-03-29 13:04:42 +03:00
gabime
4754c6212d
revert logging templates
2014-03-29 02:25:52 +03:00
gabime
f090d66066
astyle
2014-03-29 01:38:05 +03:00
gabime
87cc555d0b
example
2014-03-29 01:37:29 +03:00
gabime
5556967ed9
logger ctor cleanup
2014-03-29 01:20:51 +03:00