A general-purpose single-header C logging library and parser for event-based logs. (Incomplete)
{#} | Time | Hash | Subject | Author | # | (+) | (-) | GPG? |
---|---|---|---|---|---|---|---|---|
182 | 01 Feb 2020 21:59 | 08742cb | Add new test chain tests to GitHub Actions configuration | Josh Stockin | 1 | 2 | 2 | G |
Object | Latest Commit Subject | Time | Hash |
---|---|---|---|
.github | Add new test chain tests to GitHub Actions configuration | 01 Feb 2020 21:59 | 08742cb |
src | Update license and copyright comment block in header | 26 Jan 2020 17:27 | cd3d5c4 |
static | Update logos | 19 Jan 2020 18:28 | 4b380ef |
tests | Modify testing chain for convenience | 01 Feb 2020 21:54 | 1a7420f |
.gitignore | Update .gitignore for VIM temp files | 29 Nov 2019 19:23 | 7b6bdef |
.travis.yml | Update unit testing and CI testing configuration | 08 Dec 2019 19:53 | 6dd952c |
LICENSE | Update LICENSE to remove project name from copyright line | 03 Jan 2020 21:47 | b786598 |
README.md | Add performance section to README.md | 01 Feb 2020 21:55 | e4a4281 |
test | Create bin/ directory for tests if not already created | 01 Feb 2020 21:57 | b7d72fe |
(WIP) A lightweight C logging library and parser for event-oriented logs.
Lognestmonster is a general-purpose single-header C logging library that pertains a number of features:
stdout
and stdin
piping, allowing data transfer over serial,
socket, or anything else(WIP) Not yet meant for development or production use
Output of ./test performance
as of commit b54160c
:
Optimization Level | Header Binary Size* (in bytes) | Unit Test Runtime** (in µs) |
---|---|---|
-O0 | 22552 | 70 |
-O1 | 18424 | 67 |
-O2 | 22520 | 69 |
-O3 | 26760 | 68 |
-Os | 18424 | 69 |
*Header binary size is measured by compilation of the following source file:
// tests/header_only.c
#define LNM_INIT
#include "lognestmonster.h"
int main(void) {
return 0;
}
**Median taken from 200 trials run in sequence to account for variable processor conditions and behaviors. Run on a mid-tier 3.3GHz processor (i5-4590). Runtime is measured by the execution and output of the header's unit test.
This package is copyrighted by Joshua 'joshuas3' Stockin and licensed under the MIT License.
A form of the following should be present in each major library source or header file.
lognestmonster Copyright (c) 2020 Joshua 'joshuas3' Stockin
<https://joshstock.in>
<https://github.com/JoshuaS3/lognestmonster>
This software is licensed under the MIT License.