2019-09-18 17:44:47 +02:00
|
|
|
#ifndef LLOG
|
|
|
|
#define LLOG
|
|
|
|
|
2019-09-18 18:27:57 +02:00
|
|
|
// Display a message in the log stream
|
2019-09-21 12:48:06 +02:00
|
|
|
// you can add \n to start an new line ^^
|
2019-09-20 13:22:16 +02:00
|
|
|
void ll_send(const char * txt);
|
2019-09-18 18:27:57 +02:00
|
|
|
|
2019-09-21 12:48:06 +02:00
|
|
|
// Put the 8 last lines of the stream
|
2019-09-20 13:22:16 +02:00
|
|
|
void ll_display();
|
2019-09-18 17:44:47 +02:00
|
|
|
|
2019-09-21 12:48:06 +02:00
|
|
|
// Enable log displaying on panic
|
2019-09-20 13:22:16 +02:00
|
|
|
void ll_set_panic();
|
2019-09-18 17:44:47 +02:00
|
|
|
|
2019-09-21 12:48:06 +02:00
|
|
|
// Display log, enable scrolling, and waits the user to press Exit
|
|
|
|
void ll_pause();
|
|
|
|
|
|
|
|
// Clear log
|
|
|
|
void ll_clear();
|
2019-09-18 17:44:47 +02:00
|
|
|
|
|
|
|
#endif
|