Index

lognestmonster / 74ad0df

A general-purpose single-header C logging library and parser for event-based logs. (Incomplete)

Latest Commit

{#}TimeHashSubjectAuthor#(+)(-)GPG?
20422 Jul 2020 20:3474ad0dfRewrite struct definitions for statement and eventJosh Stockin11416G

Tree

ObjectLatest Commit SubjectTimeHash
folder.githubStop running performance test in GitHub Actions05 Feb 2020 15:18b41ce54
foldersrcRewrite struct definitions for statement and event22 Jul 2020 20:3474ad0df
folderstaticUpdate logos19 Jan 2020 18:284b380ef
foldertestsBring repository up to date22 Jul 2020 20:27616a224
file.gitignoreUpdate .gitignore for VIM temp files29 Nov 2019 19:237b6bdef
fileLICENSEUpdate LICENSE to remove project name from copyright line03 Jan 2020 21:47b786598
fileREADME.mdUpdate README.md01 Feb 2020 22:06e60fb20
filetestUse matplotlib for graphs of performance test results30 Mar 2020 15:46e573237

README

(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:

(WIP) Not yet meant for development or production use

Performance at Different Optimization Levels

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.

Copyright

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.