ALL SEEING / - 全能視 -
Go to file
2024-02-12 23:18:38 +09:00
.gitignore create new project 2024-02-11 12:03:19 +09:00
allcing.h add functions to write chunks 2024-02-12 23:13:46 +09:00
CMakeLists.txt add an example program 2024-02-12 23:14:07 +09:00
example.c fix an issue in example program 2024-02-12 23:18:38 +09:00
LICENSE add documents 2024-02-11 12:16:26 +09:00
README.md update format descriptions 2024-02-12 23:13:57 +09:00
test.c implement chunk write functions 2024-02-12 13:05:34 +09:00

ALLCING

UNDER DEVELOPMENT

ALLCING is a structured logging library featuring on lightweightness.

Features

  • written in C23
  • single header
  • stream abstraction
  • compact log data with simple binary format
  • completely-free license (WTFPLv2)

Log Data Format

# [TOKEN] means TOKEN is optional
# <TOKEN> means TOKEN is constant and refer allcing.h for actual value

ROOT := CHUNK_BEGIN | CHUNK_END | CHUNK_CHECK

CHUNK_BEGIN := <ACG_CHUNK_BEGIN> [CHUNK_DATA]
CHUNK_END   := <ACG_CHUNK_END>   [CHUNK_DATA]
CHUNK_CHECK := <ACG_CHUNK_CHECK> [CHUNK_DATA]

CHUNK_DATA := CHUNK_PAD | CHUNK_BLOB | CHUNK_CTX | CHUNK_LOC | CHUNK_DATA
CHUNK_PAD  := <ACG_CHUNK_PAD>  PAD
CHUNK_BLOB := <ACG_CHUNK_BLOB> BLOB
CHUNK_CTX  := <ACG_CHUNK_CTX>  UINT(64) UINT(16)
CHUNK_LOC  := <ACG_CHUNK_LOC>  BLOB

PAD     :=
BLOB    :=
UINT(x) :=

License

Do What The Fuck You Want to Public License v2