diag-trace 4.2.1
The µOS++ Tracing Infrastructure
Loading...
Searching...
No Matches

Functions

int micro_os_plus::trace::printf (const char *format,...)
 Write a formatted string to the trace output channel.
 
int micro_os_plus::trace::putchar (int c)
 Write the single character to the trace output channel.
 
int micro_os_plus::trace::puts (const char *s="")
 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)
 Write a formatted variable arguments list to the trace output channel.
 

Detailed Description

These functions serve as the primary methods for outputting trace messages in C++ projects.

Function Documentation

◆ printf()

int micro_os_plus::trace::printf ( const char * format,
... )

Write a formatted string to the trace output channel.

Parameters
[in]formatA null terminate string with the format.
Returns
A nonnegative number for success.

Definition at line 46 of file trace.cpp.

◆ putchar()

int micro_os_plus::trace::putchar ( int c)

Write the single character to the trace output channel.

Parameters
[in]cA single byte character.
Returns
The written character.

Definition at line 123 of file trace.cpp.

◆ puts()

int micro_os_plus::trace::puts ( const char * s = "")

Write the string and a line terminator to the trace output channel.

Parameters
[in]sA null terminated string.
Returns
A nonnegative number for success.

Definition at line 94 of file trace.cpp.

◆ vprintf()

int micro_os_plus::trace::vprintf ( const char * format,
std::va_list arguments )

Write a formatted variable arguments list to the trace output channel.

Parameters
[in]formatA null terminate string with the format.
[in]argumentsA variable arguments list.
Returns
A nonnegative number for success.

Definition at line 63 of file trace.cpp.