goatshriek / stumpless

a C logging library built for performance and features
https://goatshriek.github.io/stumpless
Apache License 2.0
446 stars 335 forks source link

add sqlite3 targets #393

Closed goatshriek closed 10 months ago

goatshriek commented 10 months ago

Adds SQLite3 targets for logging to a SQLite database.

The indent wrapper script has been removed as part of this change, as some of the formatting that it enforces is undesirable. Specifically, the indention of #define statements within header guards, and function calls with no parameters having two spaces inside will no longer be used in new code moving forward.

codecov[bot] commented 10 months ago

Codecov Report

Attention: 86 lines in your changes are missing coverage. Please review.

Comparison is base (c2cb789) 91.79% compared to head (10a1620) 90.48%.

Files Patch % Lines
src/target/sqlite3.c 74.77% 55 Missing and 28 partials :warning:
src/error.c 66.66% 2 Missing :warning:
src/strbuilder.c 75.00% 0 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## latest #393 +/- ## ========================================== - Coverage 91.79% 90.48% -1.31% ========================================== Files 44 46 +2 Lines 3776 4160 +384 Branches 497 553 +56 ========================================== + Hits 3466 3764 +298 - Misses 216 273 +57 - Partials 94 123 +29 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

sonarcloud[bot] commented 10 months ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

0.0% 0.0% Coverage
0.0% 0.0% Duplication

warning The version of Java (11.0.3) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17. Read more here