34#if defined(MICRO_OS_PLUS_DIAG_TRACE_ENABLED)
68 std::va_list arguments;
69 va_start (arguments, format);
71#pragma GCC diagnostic push
73#pragma clang diagnostic ignored "-Wunsafe-buffer-usage-in-libc-call"
76#pragma GCC diagnostic pop
85#pragma GCC diagnostic push
87#pragma clang diagnostic ignored "-Wunsafe-buffer-usage-in-libc-call"
90#pragma GCC diagnostic pop
96#pragma GCC diagnostic push
98#pragma clang diagnostic ignored "-Wunsafe-buffer-usage-in-libc-call"
101#pragma GCC diagnostic pop
static int puts(const char *s="") noexcept
Write the string and a line terminator to the trace output channel.
static int vprintf(const char *format, std::va_list arguments) noexcept
Write a formatted variable arguments list to the trace output channel.
static void dump_args(int argc, char *argv[], const char *name="main") noexcept
Send the argv[] array to the trace output channel.
static void flush(void) noexcept(noexcept(T::flush()))
Flush the trace output channel.
static ssize_t write(const void *buf, std::size_t nbyte) noexcept(noexcept(T::write(buf, nbyte)))
Write the given number of bytes to the trace output channel.
static void initialise(void) noexcept(noexcept(T::initialise()))
Initialise the trace output channel.
static int putchar(int c) noexcept
Write the single character to the trace output channel.
void micro_os_plus_trace_initialise(void)
Initialise the trace output channel.
ssize_t micro_os_plus_trace_write(const void *buf, size_t nbyte)
Write the given number of bytes to the trace output channel.
void micro_os_plus_trace_flush(void)
Flush the trace output channel.
int micro_os_plus_trace_printf(const char *format,...)
Write a formatted string 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.
int micro_os_plus_trace_putchar(int c)
Write the single character to the trace output channel.
Implementation details namespace.
C++ header file with the declarations for the µOS++ Tracing Infrastructure.