solcer/esplog

0.0.1

uploaded 1 year ago
This library gives well looking log output over console which is contains time, file, line information and your messages.

readme

# ESP Log

This library provides well-formatted log output on the console, including timestamps, file and line information, and your messages for use with ESP-IDF on Espressif's MCUs (e.g., ESP32).
You can add this library to your project as a component. Usually it should be under components folder in your project directory.

## Usage

```c
log_message(LOG_INFO, , "Your formatted message here");
```
## Output
```console
[2131] [INFO] lvglTask() [./components/gui/gui.c:985]: UI init
[2267] [INFO] ui_task() [./components/gui/gui.c:139]: ui_task created
[2384] [ERROR] wifi_init_sta() [./components/wifi_connect.c:153]: UNEXPECTED EVENT
```
![image](https://github.com/solcer/espLog/assets/6162396/2e7b999a-cbf9-4976-bfef-df58af6dd65d)

## License

[MIT](https://choosealicense.com/licenses/mit/)

Links

Supports all targets

License: MIT

To add this component to your project, run:

idf.py add-dependency "solcer/esplog^0.0.1"

or download archive

Stats

  • Downloaded in total
    Downloaded in total 10 times
  • Downloaded this version
    This version: 10 times

Badge

solcer/esplog version: 0.0.1
|