aeiouaeiouaeiouaeiouaeiouaeiou
695e18341f
event.c: include stdint header
...
Signed-off-by: aeiouaeiouaeiouaeiouaeiouaeiou <aeioudev@outlook.com>
2025-03-12 09:09:27 +08:00
Daniel Ottiger
796ac2ce52
Add dzlog_level_enabled()
2025-03-11 08:27:24 +08:00
Axel PASCON
2a168ab859
Update Makefile to latest zlog version
...
Fixes HardySimpson/zlog#232 (at least for the potential `src/zlog.pc` and `src/version.h`)
2025-03-04 08:32:17 +08:00
Axel PASCON
792bb32b17
Fix tiny little bug in src/zlog.pc
generation.
2025-03-04 08:32:17 +08:00
Axel PASCON
de9c8296b7
Add support for pkg-config.
...
A `src/zlog.pc` is now generated and installed (by default to `$(PREFIX)/$(LIBRARY_PATH)/$(PKGCONFIG_PATH)`) from `src/Makefile`.
Also automatically generate `src/version.h` from `src/Makefile` to handle versioning from the build system. This change is, of course, not mandatory to support pkg-config, but I thought it could be quite handy.
2025-03-04 08:32:17 +08:00
moce
ee835a1aaa
fix #276 : double-free panic in gcc attribute destructor logging
2024-11-05 18:14:10 +08:00
Bo YU
54e4306486
Update CPACK_PACKAGE_VERSION_PATCH
...
Signed-off-by: Bo YU <tsu.yubo@gmail.com>
2024-10-26 08:47:40 +08:00
Sean
9f46351f77
fix "str is [], can't find level" error
2024-09-09 16:23:45 +08:00
breadmechanic
f7e92a48ec
Fix zlog_env_conf concurrency question ( #269 )
...
* Fix zlog_env_conf concurrency question
2024-09-07 14:34:44 +08:00
Hemant Zope
d0b6673b8b
fix clang newline eof error
2024-07-24 08:03:13 +08:00
Ben Gorlick
9d7594c022
Update README.md - small typo fix to the core lib category type zlog_catogory
...
small typo fix to the core lib category type zlog_catogory
2024-07-05 10:53:45 +08:00
Tu Duong Quyet
7fe61ca626
Refactoring CMake, md files
1.2.18
2024-04-11 14:16:08 +08:00
Tu Duong Quyet
67063c7534
Add missing file for tests
2024-04-11 14:16:08 +08:00
Tu Duong Quyet
8c8f4b0672
Update .gitignore
2024-04-11 14:16:08 +08:00
Tu Duong Quyet
8fc8f98947
Rename BUILD to BUILD.bazel
2024-04-11 14:16:08 +08:00
Tu Duong Quyet
b6d921024d
Update clang-format
2024-04-11 14:16:08 +08:00
Tu Duong Quyet
ec179780d1
Update gitignore file
...
Refactor README
Change makefile as Makefile
2024-04-11 14:16:08 +08:00
Tu Duong Quyet
96a2aa2502
Convert Changelog to Debian style
...
Update Apache License for all files
2024-04-11 14:16:08 +08:00
Ali Raza
c47f781a9f
buffer overflow patched ( #251 )
...
Thank you for the PR
2024-02-29 14:36:25 +08:00
zaxbbun
355ddf9b98
Fix %g spec cause zlog conf parse failed ( #248 )
2024-02-05 21:14:22 +08:00
almichala
fbebb73d23
changed BUILD to be publicly visible ( #242 )
...
* removed unseen characters that make the file incompatible with older gcc versions. Added a BUILD file for anyone interested in building with bazel
* made the BUILD file a bit more generic
2024-02-05 21:14:09 +08:00
难易
1a7b1a6fb9
change lience to apache
1.2.17
2023-12-04 20:07:04 +08:00
efr-dev-profile
917915e8b4
Add global log level through conf file ( #159 )
...
Co-authored-by: deemar <5099702+deemar@users.noreply.github.com>
2023-10-28 08:39:14 +08:00
Anna Lito Michala
8579a9c9b1
removed unseen characters that make the file incompatible with older gcc versions. Added a BUILD file for anyone interested in building with bazel
2023-10-28 08:36:47 +08:00
root
21a47854af
bug for rotating log file when archive_max_size is GB
2023-08-29 10:44:47 +08:00
LorewalkerZ
825122c109
Fix #237 rotation fail
2023-08-28 08:24:19 +08:00
Tu Duong Quyet
b8d9634a1a
Add Windows and CMake support
...
Fix build issue on macOS for `phtread_threadid_np`
2023-02-10 15:08:15 +08:00
Zhentao Huang
0c2b0b1901
Fix #226 compiling issue for auto-tool fork
...
Signed-off-by: Zhentao Huang <zhentao_huang@hotmail.com>
2022-11-17 14:54:40 +08:00
Junbo Zheng
0e8bcd16ce
README.md: fix title format
...
Signed-off-by: Junbo Zheng <3273070@qq.com>
2022-09-13 08:05:44 +08:00
phoppermann
dc2c284664
REAMDE: fix link to homepage
1.2.16
2022-08-15 14:38:42 +08:00
GuillaumeF
3e60dfe299
Update documentation
2022-07-28 08:02:08 +08:00
GuillaumeF
c447c189c4
Update test_syslog.conf
...
Fix typo in format.
2022-07-26 08:32:06 +08:00
Tim Witvliet
26263f96eb
Added documentation for new %g option
2022-07-21 08:09:38 +08:00
Tim Witvliet
d4543c3954
copied changes from ERFier and fixed the indentation
2022-07-21 08:09:38 +08:00
XiangfeiCH
a5be8b3a8d
Fix stack-buffer-overflow at zlog_conf_build_with_file
2022-04-12 09:34:34 +08:00
polnico
e337f0fa43
Bugfix: possible segfault in config
...
A check was missing on the config variable, and this could lead
to a segfault, when zlog was initialized without a config file.
Signed-off-by: polnico <pol.nicolai@gmail.com>
2021-12-28 17:23:33 +08:00
Simon Maurer
4a5eb18ba8
fix valgrind error 'Conditional jump or move depends on uninitialised value'
2021-08-31 19:57:49 +08:00
John Kelley
d2eb1e22f1
Fix threadid cast warning on MacOS
2021-03-10 08:49:31 +08:00
John Kelley
1248fffef0
Fix clang parenthesis warnings
2021-03-10 08:49:31 +08:00
John Kelley
cd40f93b2c
Add makefile define so that pthread_threadid_np is found in pthread.h (MacOS)
2021-03-10 08:49:31 +08:00
deemar
94f4aa6f79
Merge pull request #188 from timgates42/bugfix_typo_output
...
docs: fix simple typo, ouput -> output
2020-11-30 08:02:51 +08:00
Tim Gates
4e77dfdb8b
docs: fix simple typo, ouput -> output
...
There is a small typo in README.md, src/level_list.h, src/rule.h, src/zlog.c.
Should read `output` rather than `ouput`.
2020-11-29 07:56:34 +11:00
deemar
876099f3c6
Merge pull request #175 from bjoern-r/append_cr_feature
...
Append cr feature testcase
1.2.15
2020-05-06 18:10:44 +08:00
Bjoern Riemer
de91232c84
add actual test case files
...
comment the sleep(1) to speed up the test.
2020-05-06 11:18:37 +02:00
Bjoern
71f7e33579
add testcase for %r feature
2020-05-06 11:15:33 +02:00
deemar
bced46de8d
Merge pull request #171 from bjoern-r/append_cr_feature
...
added support for %r to insert a carriage return
2020-05-06 10:13:24 +08:00
deemar
5c1d1b0a4f
Merge pull request #174 from deemic/master
...
Fix possible buffer overflow in conf.c
2020-05-06 07:56:31 +08:00
deemic
241c18775e
Fix possible buffer overflow in conf.c
...
issue #173
2020-05-03 11:19:12 +08:00
deemar
23fceb3ff5
Merge pull request #172 from AdamKorcz/master
...
Added fuzzer
2020-04-22 07:20:43 +08:00
Adam Korczynski
f2df3a5c06
Added fuzzer
2020-04-21 22:23:53 +01:00