Rashad Kanavath
9ca4e3d8bc
fix build on openbsd
2018-09-04 11:41:06 +02:00
Jeremy Nimmer
b3881b9c15
add remove_all_sinks method to dist_sink
...
This allows users to set exactly the sinks they want, even if other
unknown application code has added bespoke sinks in the meantime.
2018-06-13 07:42:20 -04:00
gabime
032035e72f
format
2018-06-10 23:22:31 +03:00
gabime
66b5772b61
Fixed issue #720
2018-06-10 23:22:19 +03:00
gabime
faea32c9f9
simplfiy a little the use of fmt:safe_strerror
2018-06-01 16:58:07 +03:00
Gabi Melman
d78ddcee24
Merge pull request #719 from JamesReynolds/master
...
Closes #717
2018-06-01 16:42:45 +03:00
JamesReynolds
7bc598c9b5
Move errno code into common
...
errno code is no longer OS specific. Moving to common.
2018-06-01 14:32:33 +01:00
JamesReynolds
aa9012fa07
Fixes #717
...
This fix uses the fmt::safe_strerror instead of the underlying
strerror_r functionality. I think this is better - but I'm not
sure if there is a reason for avoiding the use of this function.
2018-06-01 12:24:06 +01:00
JamesReynolds
3fbac8e2b7
Closes #717
...
Failure to compile to systems that don't have a valid definition
of strerror_r.
2018-06-01 11:53:46 +01:00
Gabi Melman
1fcc896486
Merge pull request #715 from JamesReynolds/master
...
Closes gabime/spdlog#74
2018-05-30 15:25:40 +03:00
JamesReynolds
4131347079
This closes #74 in gabime/spdlog
...
Support for AIX. Tested on AIX 6.1 with GCC 6.3.
2018-05-30 10:44:41 +01:00
puasonych
98b9cd38ec
Update step logger
2018-05-30 13:07:43 +05:00
puasonych
877a618400
Update step logger
...
Fixed bugs with multithreading and added protection against data lost with insufficiently accurate setting of the maximum value of the file size
2018-05-30 12:48:56 +05:00
puasonych
eb2118c181
Update step_file_sink
2018-05-30 09:40:09 +05:00
puasonych
5c1951acec
Update step_file_sink
...
Fixed adding a file header and adding ignoring of empty files
2018-05-25 22:20:14 +05:00
gabime
67a6eaf23e
Merge branch 'master' of https://github.com/gabime/spdlog
2018-05-24 00:09:54 +03:00
gabime
f4db1c510c
catch potential flush exceptions
2018-05-24 00:09:38 +03:00
Puasonych
bd3f8a3b92
Added file header support
2018-05-22 08:27:34 +03:00
Gabi Melman
d6b700eaf2
Update async_log_helper.h
2018-05-21 21:16:34 +03:00
gabime
560df2878a
updated version number to 0.17.0
2018-05-21 20:38:13 +03:00
gabime
7a85acc31f
removed logger_name field from async_msg
2018-05-20 19:35:01 +03:00
gabime
7cbf832cca
comments
2018-05-20 18:30:42 +03:00
gabime
5c38e15dd2
replaced the lockfree queue with bounded, locked queue
2018-05-20 18:10:29 +03:00
gabime
0e86c4eed0
removed debug printf
2018-05-20 18:07:38 +03:00
gabime
e69aafc737
fixed flush interval in async helper
2018-05-20 18:05:37 +03:00
gabime
3dbba6895d
replaced the lockfree queue with bounded, locked queue
2018-05-20 18:05:37 +03:00
Gabi Melman
b1a58cd342
Dont wait for the queue to drain in async flush
2018-05-17 20:38:43 +03:00
Gabi Melman
efb1af9a73
Update async_logger_impl.h
2018-05-17 20:36:10 +03:00
Puasonych
8f3c4218ed
Merge remote-tracking branch 'gabime/master'
2018-04-20 16:20:17 +03:00
gabime
217ad75ebd
Fixed deault error handler not to use sink but write directly to stderr
2018-04-20 13:02:21 +03:00
Gabi Melman
ce41991c51
Remove unneeded include
2018-04-20 12:59:51 +03:00
Puasonych
1136bd7ce2
Update step_logger
...
Fixed code duplication
2018-04-18 09:49:41 +03:00
Puasonych
093edc2dc2
Update step_logger
...
Test release of a logger step_logger
2018-04-16 12:56:45 +03:00
Puasonych
f17eb1bb56
Merge remote-tracking branch 'gabime/master'
2018-04-16 08:27:01 +03:00
Gabi Melman
5e08950ed2
Created contrib/sinks directory
2018-04-13 12:45:33 +03:00
Gabi Melman
bce3b75c53
Created contrib directory
2018-04-13 12:44:43 +03:00
Erik
be685337b1
Update file_sinks.h
...
Removed possible throw of an exception from the destructor
2018-04-12 10:01:02 +05:00
Erik
06580c8333
Update file_sinks.h
2018-04-11 22:15:50 +05:00
Puasonych
11c99892d7
Add new logger: step_logger
2018-04-11 11:40:34 +03:00
gabime
3fdc7996db
code formatting
2018-04-09 15:14:13 +03:00
gabime
cfb450c059
Fixed eol write in pattern_formatter_impl
2018-04-09 14:14:52 +03:00
Gabi Melman
b416685d6f
Fix gcc warning on stat (32 bits)
2018-04-09 02:06:33 +03:00
gabime
64c2fe180b
Fixed bug in wrapping colors around level name in default pattern
2018-04-08 18:27:18 +03:00
gabime
1dea46e1ab
code formatting
2018-04-06 04:06:02 +03:00
gabime
3452892f76
minor renaming
2018-04-06 03:22:27 +03:00
gabime
d040ab93ea
wincolor color formatting support
2018-04-06 03:04:18 +03:00
gabime
c8610d9a86
support for color formatting
2018-04-06 02:24:07 +03:00
gabime
93d41b2c0e
fixed gcc warning about struct stat
2018-03-22 20:35:49 +02:00
gabime
18c99682a8
fixed clang warning about uninitialized values
2018-03-17 14:08:10 +02:00
gabime
200815892f
Fix clang-tidy warnings about missing braces around if and for statements
2018-03-17 13:42:09 +02:00