Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kinnyugen/libjlog

libjlog: Easily configurable standarized printing for hobby operating systems
https://github.com/kinnyugen/libjlog

Last synced: 8 days ago
JSON representation

libjlog: Easily configurable standarized printing for hobby operating systems

Awesome Lists containing this project

README

        

libjlog v1.0.0
======================
libjlog is a simple-to-use standarized output
system for low-level software like custom operating
systems and C-based memory-efficient systems.

It is configurable and easy-to-use for both C and C++.

Configure
======================
Copy "libjlog.c" and "libjlog.h" into your project.
While booting into your system, initialize libjlog with
this code:

libjlog_init(printing_fn, "OSName")

libjlog requires printing_fn as a callback. Here is an
example:

void printing_fn(char *text) {
// do stuff here to output *text !
}

You should be good from here.