gabime
e5865186d4
Revert "Added a function to add callbacks that are called when a logger is registered ( #2883 )"
...
This reverts commit b6eeb7364c
, since it causes deadlocks too easily for the users.
2023-09-25 20:53:45 +03:00
Jonathan Vannier
b6eeb7364c
Added a function to add callbacks that are called when a logger is registered ( #2883 )
...
* Added a function to add callbacks that are called when a logger is registered
* Fix non captured registration 2 not being properly tested for
* Replace std::list by std::vector
* Remove const refs to shared pointers
* Fix missing header
2023-09-25 18:49:04 +03:00
gabime
0a53eafe18
update clang format again
2023-09-25 16:40:36 +03:00
gabime
9d52261185
clang format
2023-09-25 16:08:29 +03:00
gabime
1a0bfc7a89
clang format
2023-09-25 02:44:07 +03:00
gabime
1f61f5e019
clang format
2023-06-07 13:23:44 +03:00
afshinpir
51bcff820e
Added apply_logger_env_levels
( #2649 )
...
This method applies levels which is set by environment variable
`SPDLOG_LEVEL` to the a single controller. Usefull for loading
configuration into manually created loggers.
2023-02-25 12:07:33 +02:00
gabime
070dd181df
clang format
2022-10-31 17:09:45 +02:00
Nigel Stewart
1eaf98cc10
SPDLOG_NO_SOURCE_LOC implementation refinement
2022-09-03 12:51:31 +10:00
Nigel Stewart
57e5814364
SPDLOG_NO_SOURCE_LOC support for omitting __FILE__, __LINE__ and SPDLOG_FUNCTION information
2022-09-02 12:18:06 +10:00
Lucas CHOLLET
dfe1009080
Expend support for any std::chrono::duration in spdlog::flush_every
...
This allows things like:
spdlog::flush_every(std::chrono::minutes(10));
spdlog::flush_every(std::chrono::milliseconds(100));
2022-07-17 20:28:39 +02:00
gabime
dc030ec53c
clang-format
2021-11-16 23:44:35 +02:00
Charless Milette
44a4517e2b
Support C++20 std::format as an alternative to fmtlib
2021-11-13 11:29:05 -05:00
dkavolis
d8f13cbd5b
replace FormatString template argument with fmt::basic_format_string
2021-07-22 16:23:56 +01:00
gabime
e7e8b75a4c
clang-format
2021-07-19 00:50:51 +03:00
dkavolis
23572369fc
Perfect forwarding for arguments
2020-11-02 00:37:03 +00:00
Christof Kaufmann
40160f2a57
Fix typo in comment
2020-10-20 02:49:09 +02:00
gabime
231ca50700
clang-format
2020-09-26 15:34:05 +03:00
Eyal Rozenberg
7009727559
Fix for issue #1627 :
...
* Added: `spdlog::get_level()` API function - like `logger::level()`, except for the name change
* Added: `spdlog::should_log()` API function - like `logger: should_log()`
2020-07-23 23:05:12 +03:00
Joe Burzinski
741b0d6e82
Address code review comments: remove perfect forwarding on FormatString template parameters.
2020-06-03 21:47:48 -05:00
Joe Burzinski
3041faffab
Address code review comments: revert perfect forwarding on places that didn't need it, remove negative compilation unit test.
2020-06-02 20:30:25 -05:00
Joe Burzinski
30ee690401
Add support for FMT_STRING compile time checking. Add negative compilation unit test for compilers and c++ standard that support relaxed constexpr.
2020-05-31 13:15:40 -05:00
Martin Vejdarski
0ca2cb625e
Add shared library support for Windows
2020-03-10 03:14:36 +07:00
Gabi Melman
4cdb159ccb
Update spdlog.h
2020-02-26 12:54:31 +02:00
Gabi Melman
fccb25586f
Update spdlog.h
2020-02-26 12:52:46 +02:00
Gabi Melman
ab2f3307eb
Update spdlog.h
2020-02-26 12:51:16 +02:00
Gabi Melman
db26a103d6
Update spdlog.h
2020-02-26 12:50:51 +02:00
Zhi Sun
e8f7f80f2b
Remove redundant semicolon
2019-11-11 18:41:58 +08:00
Cristian Morales Vega
7cdd65075c
"#include" <spdlog/.*> instead of "spdlog/.*"
...
The meaning of using quotes to #include is implementation defined, so it
may or not may be what we want. At least POSIX
(https://pubs.opengroup.org/onlinepubs/9699919799/utilities/c99.html )
says: "headers whose names are enclosed in double-quotes ( "" ) shall be
searched for first in the directory of the file with the #include line",
so not what we want since "spdlog" ends up twice in the path.
2019-11-06 19:15:29 +00:00
gabime
cae6c9ab36
Removed lazy argument evaluation from macros
2019-11-03 15:19:59 +02:00
Paul Kunysch
eb4a169cfb
Improve log macros
2019-11-02 09:40:37 +01:00
Florian Pigorsch
4aad51a352
Fix some spelling errors.
...
casese -> cases (1)
chache -> cache (1)
cirucal -> circular (1)
dependecy -> dependency (1)
detrmine -> determine (2)
eavluate -> evaluate (1)
exertnal -> external (1)
ony -> only (1)
registation -> registration (3)
registring -> registering (2)
regsistration -> registration (3)
seperate -> separate (2)
wit -> with (1)
withe -> with (1)
2019-10-19 09:42:38 +02:00
gabime
9a0a0c2d8c
clang-format
2019-10-18 16:14:08 +03:00
gabime
9369fe8c27
Fix #1262
2019-10-09 21:41:02 +03:00
gabime
bd9e1475e2
clang-format
2019-09-07 20:11:35 +03:00
gabime
65d02e495e
Reverted the version() function
2019-09-05 19:50:00 +03:00
gabime
7f0398ca25
Added version() function
2019-09-05 18:51:28 +03:00
Zhiyuan "Jerry" Ma
aa731e3297
Remove extra semicolon
...
... in macro SPDLOG_LOGGER_CALL
2019-08-31 11:21:36 -04:00
gabime
408a162044
Removed logger::clone() from API
2019-08-27 01:16:57 +03:00
gabime
e1be7f3d6f
Refactoring to better support backtrace
2019-08-27 00:56:49 +03:00
gabime
a7f7984c4a
backtrace support api
2019-08-25 17:24:17 +03:00
gabime
dd33c16aae
Replace backtrace trigger with dump_backtrace()
2019-08-23 14:47:40 +03:00
gabime
a6d8b52686
Added enable_backtrace to spdlog_api
2019-08-23 02:28:52 +03:00
Charles Milette
59cbdaaf49
Add more source_loc overloads in spdlog namespace
2019-07-24 13:26:42 -04:00
Matthias Moulin
ae92279f5c
Update spdlog.h
2019-07-06 19:00:17 +02:00
gabime
220608e52a
clang-format
2019-06-19 18:31:21 +03:00
gabime
74e2aa9c66
Micoro optimize macros
2019-06-19 17:13:48 +03:00
gabime
db5af8ead1
clang-format
2019-06-14 00:23:51 +03:00
gabime
c09dee7717
Moved source filename shortening to pattern formatter instead of macro
2019-06-14 00:23:25 +03:00
gabime
bcfa9241b8
Updated copyright headers
2019-06-04 00:09:16 +03:00