 |
LightHub
v4.0.0
Smarthome controller firmware
|
Go to the documentation of this file.
4 #include <HardwareSerial.h>
11 #ifndef LOGBUFFER_SIZE
12 #define LOGBUFFER_SIZE 80
23 #ifndef SerialPortType
24 #define SerialPortType HardwareSerial
39 void begin(
unsigned long speed);
46 size_t write(uint8_t ch);
48 operator bool() {
return true;};
uint8_t udpDebugLevel
Definition: streamlog.cpp:11
void end()
Definition: streamlog.cpp:39
int available(void)
Definition: streamlog.cpp:44
Streamlog(SerialPortType *_serialPort, uint8_t _severity=LOG_DEBUG, uint8_t _ledPattern=0)
Definition: streamlog.cpp:27
size_t write(uint8_t ch)
Definition: streamlog.cpp:69
#define SerialPortType
Definition: streamlog.h:24
void flush(void)
Definition: streamlog.cpp:63
int peek(void)
Definition: streamlog.cpp:50
void begin(unsigned long speed)
Definition: streamlog.cpp:34
Definition: streamlog.h:32
int read(void)
Definition: streamlog.cpp:56
uint8_t serialDebugLevel
Definition: streamlog.cpp:10
#define LOG_DEBUG
Definition: streamlog.h:27