Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/blooser/logging

Experimental logging module
https://github.com/blooser/logging

Last synced: 9 days ago
JSON representation

Experimental logging module

Awesome Lists containing this project

README

        

# Logging

Experimental module for logging. With this logging module you register your devices where you want to log and call log function with severity level.

## Example

A example of usage

```cpp

#include "logging.h"

int main(void) {
logging::registerDevices(std::cout, "log.txt"); // Log to cout and log.txt text file
// ...
INFO("This is a info log message"); // Log with info severity
}

```