µOS++ IIIe Reference 7.0.0
The third edition of µOS++, a POSIX inspired open source framework, written in C++
Loading...
Searching...
No Matches
µOS++ Diagnostics & Trace

µOS++ Diagnostic & Trace summary page. More...

Namespaces

namespace  os::trace
 Tracing support namespace.
 

Functions

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.
 

Detailed Description

µOS++ Diagnostic & Trace summary page.

This page groups the main classes providing support for diagnostics. For example the trace::printf() functions are defined here.

Function Documentation

◆ dump_args()

void os::trace::dump_args ( int  argc,
char *  argv[] 
)

Write the argv[] array to the trace device.

Parameters
argcThe number of argv[] strings.
argvAn array of pointer to args.

Definition at line 140 of file trace.cpp.

◆ printf()

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

Write a formatted string to the trace device.

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

Definition at line 74 of file trace.cpp.

◆ putchar()

int os::trace::putchar ( int  c)

Write the single character to the trace device.

Parameters
cA single byte character.
Returns
The written character.

Definition at line 126 of file trace.cpp.

◆ puts()

int os::trace::puts ( const char *  s)

Write the string and a line terminator to the trace device.

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

Definition at line 108 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]formatA null terminate string with the format.
[in]argsA variable arguments list.
Returns
A nonnegative number for success.

Definition at line 86 of file trace.cpp.