Gabi Melman
f0f4a52190
Merge pull request #427 from alzix/android_sink_retry
...
android sink - add retry mechanism
8 years ago
Alexander Zilberkant
2f205a6dbc
android sink - add retry mechanism
...
- in some cases subsequent calls to __android_log_write() may result with -EAGAIN error code.
in such cases spdlog will sleep and try again for number of times defined by
SPDLOG_ANDROID_LOG_NUM_OF_RETRIES
- defeult SPDLOG_ANDROID_LOG_NUM_OF_RETRIES set to 2 - can be overridden at build time
8 years ago
Gabi Melman
4a25802312
Update README.md
8 years ago
Gabi Melman
260a74509a
Merge pull request #425 from jcelerier/feature/final_qualifier
...
Add an optional final qualifier to types
8 years ago
Jean-Michaël Celerier
4da5fa256c
add SPDLOG_FINAL information in tweakme.h
8 years ago
Jean-Michaël Celerier
53138c20fb
Add an optional final qualifier to types
...
When building with GCC's -Wfinal-types, a lot of types of spdlog
are marked as being more optimizable if they were marked final.
This patch adds a possibility for the user of the library to `#define SPDLOG_FINAL final`
and enjoy potentially better performance : GCC is then able to replace virtual calls by true
function calls if it can ensure that there are no derived types).
By default SPDLOG_FINAL is defined to nothing to not break existing code that
may be inheriting of some of these types for some reason.
8 years ago
Gabi Melman
9e6d81de08
Merge pull request #422 from theamirocohen/android_log
...
Android_logger conditionally apply its own formatting
9 years ago
Amir Cohen
45e3e7041d
Android_logger apply its own formatting to every print by adding timestamps, severity, thread and process ids, thus the option flag in the ctor
9 years ago
Gabi Melman
8b11ffe163
Merge pull request #413 from odeits/patch-3
...
Fix typo immediatly immediately
9 years ago
Gabi Melman
0c89beaa58
Merge pull request #415 from odeits/patch-5
...
fix typos in base_sink.h
9 years ago
Gabi Melman
d35e229c44
Merge pull request #414 from odeits/patch-4
...
fix typo potentialy to potentially
9 years ago
Gabi Melman
0a70ef8438
Merge pull request #412 from odeits/patch-2
...
Fix typo in comment Unkown to Unknown
9 years ago
odeits
6670d3b925
fix typos in base_sink.h
9 years ago
odeits
82404f6f65
fix typo potentialy to potentially
9 years ago
odeits
8d5ecc1b58
Fix typo immediatly immediately
9 years ago
odeits
682d2e057f
Fix typo in comment Unkown to Unknown
9 years ago
Gabi Melman
15af514951
Update file_helper.h
9 years ago
Gabi Melman
129781fd17
Merge pull request #408 from odeits/patch-1
...
Fix typo Unkown to Unknown
9 years ago
Gabi Melman
b9e8fd209a
Merge pull request #407 from eliaskosunen/master
...
Update example in README.md
9 years ago
odeits
ea359254d6
Fix typo Unkown to Unknown
9 years ago
Elias Kosunen
a3e84cb347
Update example in README.md
9 years ago
Gabi Melman
51b3cc0aef
Merge pull request #405 from o-mdr/master
...
[#404 ] Reading past valid address with multisink logger
9 years ago
Oleksii Mandrychenko
d315bba1f8
Initialising members via constructor
9 years ago
Oleksii Mandrychenko
b5d838cc32
- Reverting changes to mpmc queue
9 years ago
Oleksii Mandrychenko
6a41bc40af
[ #404 ] Reading past valid address with multisink logger
...
- Initialising atomic value
See examples at http://stackoverflow.com/q/36320008/706456
This issue was discovered with dr memory tool on Windows platform, Visual Studio 2015 C++ 11
9 years ago
Oleksii Mandrychenko
b638c71d26
[ #404 ] Reading past valid address with multisink logger
...
- Initialising atomic value
See examples at http://stackoverflow.com/q/36320008/706456
This issue was discovered with dr memory tool on Windows platform, Visual Studio 2015 C++ 11
9 years ago
Gabi Melman
2b5c3615fd
Update async_log_helper.h
9 years ago
gabime
f85a08622e
version 0.13.0
9 years ago
gabime
0c276beaaf
astyle
9 years ago
gabime
5a8cecdfb6
fix unused warning message
9 years ago
gabime
397d4866b3
Fixed issue #396 and added some tests to catch it
9 years ago
Gabi Melman
27df6eb4ca
Merge pull request #403 from Falconne/master
...
Disambiguate fmt logging methods that are using variadic templates.
9 years ago
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.
9 years ago
Gabi Melman
029e6ed40f
Merge pull request #399 from devanshdalal/patch-1
...
Update README.md
9 years ago
Devansh D
a55615c984
Update README.md
9 years ago
Gabi Melman
e8da69ebe1
Merge pull request #394 from zamaudio/spdlog-updatefmt-3.0.1
...
fmt: update bundled fmt to 3.0.1 (7fa8f8f)
9 years ago
Damien Zammit
8192c13379
fmt: update bundled fmt to 3.0.1 (7fa8f8f)
...
Signed-off-by: Damien Zammit <damien@zamaudio.com>
9 years ago
Gabi Melman
270c08b275
Merge pull request #377 from tekezo/master
...
Use double-braces in std::array initialization.
9 years ago
Takayama Fumihiko
a4714a6571
use double-braces in std::array initialization
9 years ago
Gabi Melman
5585299b03
Merge pull request #375 from horar/master
...
Don't hardcode '.txt.' log file name suffix (resolve #333 )
9 years ago
Ľubomír Carik
fd8df5b820
Don't hardcode '.txt.' log file name suffix ( resolve #333 )
...
Signed-off-by: Ľubomír Carik <Lubomir.Carik@gmail.com>
9 years ago
Gabi Melman
d7a8db8f63
Update README.md
9 years ago
gabime
93d84e5d59
v0.12.0
9 years ago
Gabi Melman
311937815e
Merge pull request #370 from jcelerier/fix/remove_static_global_strings
...
Replace static global std::string arrays by Meyer singletons.
9 years ago
Jean-Michaël Celerier
ef665e959f
Don't deduce return types for days / months
...
Required for C++11 support
9 years ago
Gabi Melman
20f4428696
Update README.md
9 years ago
Gabi Melman
b65c7bad9f
Update README.md
9 years ago
Jean-Michaël Celerier
06b8193a14
Add missing consts
9 years ago
Jean-Michaël Celerier
a626ebbbec
Replace static global std::string arrays by Meyer singletons. This improves thread-safety.
9 years ago
Gabi Melman
054eb555ca
Moved `SPDLOG_VERSION` macro to spdlog.h
9 years ago