Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/blooser/logging
Experimental logging module
https://github.com/blooser/logging
Last synced: 9 days ago
JSON representation
Experimental logging module
- Host: GitHub
- URL: https://github.com/blooser/logging
- Owner: blooser
- Created: 2020-12-02T18:29:02.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-01-05T16:29:17.000Z (almost 4 years ago)
- Last Synced: 2023-10-12T01:57:09.967Z (about 1 year ago)
- Language: C++
- Size: 4.02 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
}```