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, va_list arguments)
 Write a formatted variable arguments list to the trace output channel.
 

Detailed Description

These functions constitute the primary methods for outputting trace messages in C projects.

Function Documentation

◆ micro_os_plus_trace_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 196 of file trace.cpp.

◆ micro_os_plus_trace_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 238 of file trace.cpp.

◆ micro_os_plus_trace_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 227 of file trace.cpp.

◆ micro_os_plus_trace_vprintf()

int micro_os_plus_trace_vprintf ( const char * format,
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 215 of file trace.cpp.