Skip to contentSkip to conversation

1. libsimplelog: add recipe for lightweight high-performance logging library

PATCH In review Thuận Nguyễn-Thái 2 participants 2 messages Apr 14, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 1. libsimplelog: add recipe for lightweight high-performance logging library

2. libsimplelog is a portable, minimal, and extremely fast logging library written in ANSI C.

3. It supports multi-threading, high throughput (up to millions log records/sec with PC 8 CPU - see report from README.md)

4. And works on embedded Linux platforms without external dependencies.

5. Follow KISS principle.

6. A Tribute to W. Richard Stevens (1951 - 1999).

7. This recipe adds libsimplelog to meta-openembedded under recipes-support.

---
 .../libsimplelog/libsimplelog_git.bb          | 21 +++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 meta-oe/recipes-libsimplelog/libsimplelog/libsimplelog_git.bb
meta-oe/recipes-libsimplelog/libsimplelog/libsimplelog_git.bb new file +21 -0
new file mode 100644
index 000000000..0415bf485
@@ -0,0 +1,21 @@
+
+SUMMARY = "simplelog-topc - Simple, STABLE, powerful of logging library in ANSI C/C++. Ready for billion records."
+DESCRIPTION = "Async and Fast C/C++ multi-thread logger with topics. No external dependencies."
+HOMEPAGE = "https://github.com/thuanalg/simplelog-topic"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=22cdd382a6275cb4c2e75c517952ac7c"
+
+SRC_URI = "git://github.com/thuanalg/simplelog-topic.git;branch=main;protocol=https"
+
+# Modify these as desired
+PV = "1.0+git"
+SRCREV = "ff30ba71807db1d7e1962dd014c2bb0a060572a3"
+
+S = "${WORKDIR}/git"
+
+inherit cmake
+
+# Specify any options you want to pass to cmake using EXTRA_OECMAKE:
+EXTRA_OECMAKE += "-DUNIX_LINUX=1"
+
+
Signature · 1 line
2.47.1
#1 lore raw
Quoted 5 lines · Thuận Nguyễn-Thái via lists.openembedded.org

2. libsimplelog is a portable, minimal, and extremely fast logging library written in ANSI C.

3. It supports multi-threading, high throughput (up to millions log records/sec with PC 8 CPU - see report from README.md)

Quoted 8 lines

4. And works on embedded Linux platforms without external dependencies.

5. Follow KISS principle.

6. A Tribute to W. Richard Stevens (1951 - 1999).

7. This recipe adds libsimplelog to meta-openembedded under recipes-support.

Thanks for reworking this. I think commit message can be made a bit more consistent with respect to formatting we use

recipe: Short summary of change

Long description of the change

Signed-off-by

For details I would encourage to go through

https://docs.yoctoproject.org/dev/contributor-guide/submit-changes.html

Quoted 45 lines
---
 .../libsimplelog/libsimplelog_git.bb          | 21 +++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 meta-oe/recipes-libsimplelog/libsimplelog/libsimplelog_git.bb
meta-oe/recipes-libsimplelog/libsimplelog/libsimplelog_git.bb new file +21 -1
new file mode 100644
index 000000000..0415bf485
@@ -0,0 +1,21 @@
+
+SUMMARY = "simplelog-topc - Simple, STABLE, powerful of logging library in ANSI C/C++. Ready for billion records."
+DESCRIPTION = "Async and Fast C/C++ multi-thread logger with topics. No external dependencies."
+HOMEPAGE = "https://github.com/thuanalg/simplelog-topic"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=22cdd382a6275cb4c2e75c517952ac7c"
+
+SRC_URI = "git://github.com/thuanalg/simplelog-topic.git;branch=main;protocol=https"
+
+# Modify these as desired
+PV = "1.0+git"
+SRCREV = "ff30ba71807db1d7e1962dd014c2bb0a060572a3"
+
+S = "${WORKDIR}/git"
+
+inherit cmake
+
+# Specify any options you want to pass to cmake using EXTRA_OECMAKE:
+EXTRA_OECMAKE += "-DUNIX_LINUX=1"
+
+
--

2.47.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#116854): https://lists.openembedded.org/g/openembedded-devel/message/116854
Mute This Topic: https://lists.openembedded.org/mt/112243212/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-