Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: IoT_LED_demo ServoTest uWater_Project hackathon ... more
Logger Class Reference
#include <Logger.h>
Public Member Functions | |
| Logger (const RawSerial *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 40 of file Logger.h.
Constructor & Destructor Documentation
| Logger | ( | const RawSerial * | pc ) |
Default constructor.
- Parameters:
-
pc input BufferedSerial instance for debugging (if NULL, no debugging output will occur in the library)
Definition at line 26 of file Logger.cpp.
Copy constructor.
- Parameters:
-
logger input Logger instance to deep copy
Definition at line 32 of file Logger.cpp.
| ~Logger | ( | ) | [virtual] |
Destructor.
Definition at line 38 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 43 of file Logger.cpp.
Generated on Tue Jul 12 2022 15:15:35 by
1.7.2