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.
Fork of mbedConnectorInterfaceWithDM by
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 Wed Jul 13 2022 01:24:03 by
