|
diag-trace 5.0.0
µOS++ Tracing Infrastructure
|
Primary C++ functions for outputting trace messages. More...
Functions | |
| int | micro_os_plus::trace::printf (const char *format,...) noexcept |
| Write a formatted string to the trace output channel. | |
| int | micro_os_plus::trace::putchar (int c) noexcept |
| Write the single character to the trace output channel. | |
| int | micro_os_plus::trace::puts (const char *s="") noexcept |
| Write the string and a line terminator to the trace output channel. | |
| int | micro_os_plus::trace::vprintf (const char *format, std::va_list arguments) noexcept |
| Write a formatted variable arguments list to the trace output channel. | |
These functions serve as the primary methods for outputting trace messages in C++ projects.
|
inlinenoexcept |
| format | A null terminated string with the format. |
| ... | Additional arguments matching the format specifiers. |
Thin wrapper over tracer<T>::printf(). Subject to the same fixed-size stack buffer constraint and truncation behaviour.
Definition at line 235 of file trace-cpp-api-inlines.h.
References micro_os_plus::trace::detail::tracer< T >::vprintf().
Referenced by micro_os_plus::trace::detail::tracer< T >::dump_args().
|
inlinenoexcept |
| c | A single byte character, passed as an int. |
Thin wrapper over tracer<T>::putchar().
Definition at line 273 of file trace-cpp-api-inlines.h.
References micro_os_plus::trace::detail::tracer< T >::putchar().
|
inlinenoexcept |
| s | A null terminated string (default: empty string). |
Thin wrapper over tracer<T>::puts().
Definition at line 262 of file trace-cpp-api-inlines.h.
References micro_os_plus::trace::detail::tracer< T >::puts().
|
inlinenoexcept |
| format | A null terminated string with the format. |
| arguments | A variable arguments list. |
Thin wrapper over tracer<T>::vprintf().
Definition at line 251 of file trace-cpp-api-inlines.h.
References micro_os_plus::trace::detail::tracer< T >::vprintf().
Referenced by micro_os_plus::trace::detail::tracer< T >::printf().