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.
Log Class Reference
Combination serial/file logger. More...
#include <log.h>
Public Member Functions | |
| Log () | |
| Constructor. | |
| void | enable (SerialLines idx) |
| Enable logging to the given serial line. | |
| void | disable (SerialLines idx) |
| Disable logging to the given serial line. | |
| bool | printf (char *format,...) |
| This can log messages up to 4095 characters and has printf semantics All log messages include an implicit at the end. | |
| bool | puts (const char *str) |
| Put the given string (no implicit ) on all enabled serial lines and to the logfile. | |
Detailed Description
Combination serial/file logger.
Definition at line 28 of file log.h.
Constructor & Destructor Documentation
Member Function Documentation
| void disable | ( | SerialLines | idx ) |
| void enable | ( | SerialLines | idx ) |
| bool printf | ( | char * | format, |
| ... | |||
| ) |
Generated on Tue Jul 12 2022 11:59:40 by
1.7.2