gabime
77b07b3a10
clang format
2024-01-13 09:37:32 +02:00
gabime
24fe442d03
Use relative includes and create spdlog_config.h
2024-01-12 17:33:23 +02:00
gabime
463af69d41
Clang format sort includes
2023-09-29 00:20:26 +03:00
gabime
4bb3b56102
relative includes wip
2023-09-28 00:42:16 +03:00
gabime
6dffd7c6e8
update clang format again
2023-09-25 16:40:05 +03:00
gabime
f36b2c5f93
reformat code
2023-09-25 16:19:27 +03:00
gabime
dcd5904bdc
Updated clang-format
...
Merged with origin
2023-09-25 16:11:53 +03:00
gabime
6de0ffa15f
Updated clang format to google style
2023-09-25 02:35:55 +03:00
gabime
433cac487e
Renamed spdlog::log_level to spdlog::level and added some level tests
2023-09-23 17:59:51 +03:00
gabime
392917f855
null_atomic_log_level and fix compile
2023-09-23 00:27:32 +03:00
Lucas Rangit MAGASWERAN
01b3724c48
sinks: android: handle when message is not loggable ( #2801 )
...
Android logger (since API 30) checks the per-tag property `log.tag.<tag>` to determine if a log message is loggable. See https://developer.android.com/ndk/reference/group/logging#__android_log_is_loggable . For example, `__android_log_buf_write` for a VERBOSE message will call `__android_log_is_loggable` and return `-EPERM` if the log message will not be printed because `log.tag.<tag>` is set to `INFO`.
Instead of erroring with the following error message, the Android sink should handle `-EPERM`. It is not an error to disable a log via the run-time property.
```
[*** LOG ERROR #0001 ***] [2023-06-29 00:50:26] [logcat] logging to Android failed: Unknown error -1 [/path/to/file.cpp(123)]
```
2023-07-07 00:24:06 +03:00
albert-github
5a63426d1c
Spelling corrections ( #2606 )
...
Spelling corrections v1.x
2023-01-15 13:41:30 +02:00
Timo Lange
2eedf1fa28
remove usage of forward args
2022-05-06 17:06:35 +02:00
Timo Lange
0a875d7b2d
use __android_log_write or __android_log_buf_write based on template paramter
2022-05-06 08:55:41 +02:00
gabime
e7e8b75a4c
clang-format
2021-07-19 00:50:51 +03:00
Gabi Melman
3b87eb3d08
Moved throw to dedicated function throw_spdlog_ex
2020-03-21 23:25:12 +02: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
f5492aed12
Unified usage of fmt::memory_buffer across the codebase
2019-08-28 18:46:09 +03:00
gabime
23807e12e8
Fixed throw macros and includes
2019-08-19 12:13:37 +03:00
gabime
b0a25f0183
wip - no-exceptions support
2019-08-18 19:46:28 +03:00
gabime
521c5317a2
Fix #1143
2019-07-11 19:23:06 +03:00
gabime
a33de607df
Fix issue #1099
2019-06-04 16:41:24 +03:00
gabime
bcfa9241b8
Updated copyright headers
2019-06-04 00:09:16 +03:00
gabime
eea9d6136f
Moved default sync factory to seperate file to avoid cyclic includes
2019-06-03 23:56:18 +03:00
gabime
78eeba940a
Fix issue #114
2019-06-03 23:20:53 +03:00
gabime
6bcb422c80
clang format and SPLDOG_HEADER_ONLY macro
2019-05-12 00:22:39 +03:00
gabime
46ef71e3ec
Normalized copyright message
2019-05-11 20:06:17 +03:00
gabime
23fdc0eae4
Fixed issue #959
2019-01-17 17:09:35 +02:00
gabime
70bef682b0
Fixed clang-tidy warning about implicit conversion to string_view
2018-10-19 17:12:02 +03:00
gabime
6355e9895d
Major change to log_msg - contain only string_view instead of buffer
2018-10-19 02:15:50 +03:00
Jerome Meyer
cb71fea0f6
Use fmt::string_view when logging a C string to avoid unnecessary copy
2018-10-18 11:04:20 -04:00
gabime
b368d18b0f
Added default logger API
2018-10-12 03:04:55 +03:00
gabime
5ec4e60424
Replaced SPDLOG_FINAL macro with final
2018-09-26 15:26:34 +03:00
gabime
4456f96ae3
Fixed clang warnings
2018-08-13 09:21:47 +03:00
rajesh-p
769f11109d
Namespace fix for the issue 785
...
Added namespace fix
2018-08-09 21:17:53 -07:00
gabime
9e4925eff0
clang format
2018-07-21 23:48:07 +03:00
gabime
c2a49080aa
Refactored sink interface and base_sink
2018-07-14 16:21:53 +03:00
baishuai
41f708e438
fix bug in android_sink.h
2018-07-13 23:41:26 +08:00
gabime
9dc44c39e7
Fixed bugs in stdout_sinks and in msvc
2018-07-07 14:04:31 +03:00
gabime
0c19bdd772
pattern per sink and pattern caching
2018-06-24 01:32:39 +03:00
gabime
a21594bec7
move underscores to the end of private members
2018-06-10 22:59:17 +03:00
gabime
caa26a2a47
Normalized spdlog include paths
2018-04-29 01:31:09 +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
56e4a201ec
formatting
2018-03-17 12:47:46 +02:00
gabime
a2653d409f
clang-format
2018-03-09 15:26:33 +02:00
Joao Moreno
357a63d914
fix spdlog namespace
2018-01-11 21:58:02 +01:00
Joao Moreno
a938045135
use Sleep in Windows instead of sleep_for
...
fixes #609
2018-01-11 14:50:47 +01:00
daylanKifky
27e7412640
modified path on quoted #includes
...
Paths pointing to the root of the library where replaced for ones relatives to each file.
For example, inside /include/spdlog/details/file_helper.h:
This will look for os.h in /include/spdlog/details/spdlog/details/ which doesn't exists.
replaced with:
2017-11-11 13:44:27 +01:00
gabime
13fb2550c6
Fixed issue #449
2017-05-21 20:39:54 +03:00