#include <Logger.h>
Fonctions membres publiques | |
Logger () | |
Logger (USBDeviceClass &usb) | |
virtual void | begin (unsigned long) |
virtual void | end (void) |
virtual size_t | write (uint8_t) |
virtual size_t | write (const uint8_t *buffer, size_t size) |
virtual int | available (void) |
virtual int | availableForWrite (void) |
virtual int | peek (void) |
virtual int | read (void) |
virtual void | flush (void) |
size_t | readBytes (char *buffer, size_t length) |
size_t | print (const __FlashStringHelper *, uint8_t type=MSG_TYPE_USER) |
size_t | print (const String &, uint8_t type=MSG_TYPE_USER) |
size_t | print (const char[], uint8_t type=MSG_TYPE_USER) |
size_t | print (char, uint8_t type=MSG_TYPE_USER) |
size_t | print (unsigned char, int=DEC, uint8_t type=MSG_TYPE_USER) |
size_t | print (int, int=DEC, uint8_t type=MSG_TYPE_USER) |
size_t | print (unsigned int, int=DEC, uint8_t type=MSG_TYPE_USER) |
size_t | print (long, int=DEC, uint8_t type=MSG_TYPE_USER) |
size_t | print (unsigned long, int=DEC, uint8_t type=MSG_TYPE_USER) |
size_t | print (double, int=2, uint8_t type=MSG_TYPE_USER) |
size_t | print (const Printable &, uint8_t type=MSG_TYPE_USER) |
size_t | println (const __FlashStringHelper *, uint8_t type=MSG_TYPE_USER) |
size_t | println (const String &, uint8_t type=MSG_TYPE_USER) |
size_t | println (const char[], uint8_t type=MSG_TYPE_USER) |
size_t | println (char, uint8_t type=MSG_TYPE_USER) |
size_t | println (unsigned char, int=DEC, uint8_t type=MSG_TYPE_USER) |
size_t | println (int, int=DEC, uint8_t type=MSG_TYPE_USER) |
size_t | println (unsigned int, int=DEC, uint8_t type=MSG_TYPE_USER) |
size_t | println (long, int=DEC, uint8_t type=MSG_TYPE_USER) |
size_t | println (unsigned long, int=DEC, uint8_t type=MSG_TYPE_USER) |
size_t | println (double, int=2, uint8_t type=MSG_TYPE_USER) |
size_t | println (const Printable &, uint8_t type=MSG_TYPE_USER) |
size_t | println (uint8_t type=MSG_TYPE_USER) |
int | getWriteError () |
void | setUseProtocol (uint8_t value) |
void | receive () |
uint8_t | checkForProtocolStart (uint16_t start, uint16_t len) |
void | setCbGetBricks (void(*cb)()) |
void | setForcedType (bool force, int type) |
Logger::Logger | ( | ) |
|
inline |
|
virtual |
|
virtual |
|
virtual |
uint8_t Logger::checkForProtocolStart | ( | uint16_t | start, |
uint16_t | len | ||
) |
|
virtual |
|
virtual |
int Logger::getWriteError | ( | ) |
|
virtual |
size_t Logger::print | ( | const __FlashStringHelper * | strHelper, |
uint8_t | type = MSG_TYPE_USER |
||
) |
size_t Logger::print | ( | const String & | str, |
uint8_t | type = MSG_TYPE_USER |
||
) |
size_t Logger::print | ( | const char | str[], |
uint8_t | type = MSG_TYPE_USER |
||
) |
size_t Logger::print | ( | char | c, |
uint8_t | type = MSG_TYPE_USER |
||
) |
size_t Logger::print | ( | unsigned char | c, |
int | base = DEC , |
||
uint8_t | type = MSG_TYPE_USER |
||
) |
size_t Logger::print | ( | int | i, |
int | base = DEC , |
||
uint8_t | type = MSG_TYPE_USER |
||
) |
size_t Logger::print | ( | unsigned int | i, |
int | base = DEC , |
||
uint8_t | type = MSG_TYPE_USER |
||
) |
size_t Logger::print | ( | long | l, |
int | base = DEC , |
||
uint8_t | type = MSG_TYPE_USER |
||
) |
size_t Logger::print | ( | unsigned long | l, |
int | base = DEC , |
||
uint8_t | type = MSG_TYPE_USER |
||
) |
size_t Logger::print | ( | double | d, |
int | digit = 2 , |
||
uint8_t | type = MSG_TYPE_USER |
||
) |
size_t Logger::print | ( | const Printable & | p, |
uint8_t | type = MSG_TYPE_USER |
||
) |
size_t Logger::println | ( | const __FlashStringHelper * | strHelper, |
uint8_t | type = MSG_TYPE_USER |
||
) |
size_t Logger::println | ( | const String & | str, |
uint8_t | type = MSG_TYPE_USER |
||
) |
size_t Logger::println | ( | const char | str[], |
uint8_t | type = MSG_TYPE_USER |
||
) |
size_t Logger::println | ( | char | c, |
uint8_t | type = MSG_TYPE_USER |
||
) |
size_t Logger::println | ( | unsigned char | c, |
int | base = DEC , |
||
uint8_t | type = MSG_TYPE_USER |
||
) |
size_t Logger::println | ( | int | i, |
int | base = DEC , |
||
uint8_t | type = MSG_TYPE_USER |
||
) |
size_t Logger::println | ( | unsigned int | i, |
int | base = DEC , |
||
uint8_t | type = MSG_TYPE_USER |
||
) |
size_t Logger::println | ( | long | l, |
int | base = DEC , |
||
uint8_t | type = MSG_TYPE_USER |
||
) |
size_t Logger::println | ( | unsigned long | l, |
int | base = DEC , |
||
uint8_t | type = MSG_TYPE_USER |
||
) |
size_t Logger::println | ( | double | d, |
int | digit = 2 , |
||
uint8_t | type = MSG_TYPE_USER |
||
) |
size_t Logger::println | ( | const Printable & | p, |
uint8_t | type = MSG_TYPE_USER |
||
) |
size_t Logger::println | ( | uint8_t | type = MSG_TYPE_USER | ) |
|
virtual |
size_t Logger::readBytes | ( | char * | buffer, |
size_t | length | ||
) |
void Logger::receive | ( | ) |
void Logger::setCbGetBricks | ( | void(*)() | cb | ) |
void Logger::setForcedType | ( | bool | force, |
int | type | ||
) |
void Logger::setUseProtocol | ( | uint8_t | value | ) |
|
virtual |
|
virtual |