µOS++ Diagnostic & Trace summary page.
More...
|
| namespace | os::trace |
| | Tracing support namespace.
|
| |
|
| void | os::trace::dump_args (int argc, char *argv[]) |
| | Write the argv[] array to the trace device.
|
| |
| int | os::trace::printf (const char *format,...) |
| | Write a formatted string to the trace device.
|
| |
| int | os::trace::putchar (int c) |
| | Write the single character to the trace device.
|
| |
| int | os::trace::puts (const char *s) |
| | Write the string and a line terminator to the trace device.
|
| |
| int | os::trace::vprintf (const char *format, std::va_list args) |
| | Write a formatted variable arguments list to the trace device.
|
| |
µOS++ Diagnostic & Trace summary page.
This page groups the main classes providing support for diagnostics. For example the trace::printf() functions are defined here.
◆ dump_args()
| void os::trace::dump_args |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
Write the argv[] array to the trace device.
- Parameters
-
| argc | The number of argv[] strings. |
| argv | An array of pointer to args. |
Definition at line 135 of file trace.cpp.
◆ printf()
| int os::trace::printf |
( |
const char * |
format, |
|
|
|
... |
|
) |
| |
Write a formatted string to the trace device.
- Parameters
-
| [in] | format | A null terminate string with the format. |
- Returns
- A nonnegative number for success.
Definition at line 60 of file trace.cpp.
◆ putchar()
| int os::trace::putchar |
( |
int |
c | ) |
|
Write the single character to the trace device.
- Parameters
-
| c | A single byte character. |
- Returns
- The written character.
Definition at line 121 of file trace.cpp.
◆ puts()
| int os::trace::puts |
( |
const char * |
s | ) |
|
Write the string and a line terminator to the trace device.
- Parameters
-
| s | A null terminated string. |
- Returns
- A nonnegative number for success.
Definition at line 103 of file trace.cpp.
◆ vprintf()
| int os::trace::vprintf |
( |
const char * |
format, |
|
|
std::va_list |
args |
|
) |
| |
Write a formatted variable arguments list to the trace device.
- Parameters
-
| [in] | format | A null terminate string with the format. |
| [in] | args | A variable arguments list. |
- Returns
- A nonnegative number for success.
Definition at line 77 of file trace.cpp.