This is the sample program that can see the decode result of barcode data on Watson IoT.
Dependencies: AsciiFont DisplayApp GR-PEACH_video LCD_shield_config LWIPBP3595Interface_STA_for_mbed-os USBDevice
Logger Class Reference
#include <Logger.h>
Public Member Functions | |
Logger (const Serial *pc) | |
Default constructor. | |
Logger (const Logger &logger) | |
Copy constructor. | |
virtual | ~Logger () |
Destructor. | |
void | logIt (const char *format,...) |
Log output to the given serial console. |
Detailed Description
Logger class.
Definition at line 46 of file Logger.h.
Constructor & Destructor Documentation
Logger | ( | const Serial * | pc ) |
Default constructor.
- Parameters:
-
pc input BufferedSerial instance for debugging (if NULL, no debugging output will occur in the library)
Definition at line 27 of file Logger.cpp.
Copy constructor.
- Parameters:
-
logger input Logger instance to deep copy
Definition at line 33 of file Logger.cpp.
~Logger | ( | ) | [virtual] |
Destructor.
Definition at line 39 of file Logger.cpp.
Member Function Documentation
void logIt | ( | const char * | format, |
... | |||
) |
Log output to the given serial console.
- Parameters:
-
format input format for the logging ... input (variable arguments to display)
Definition at line 44 of file Logger.cpp.
Generated on Tue Jul 12 2022 18:38:06 by 1.7.2