Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
Logger backend standard interface

Logger backend interface for forwarding to standard backend. More...

Functions

static uint32_t log_backend_std_get_flags (void)
 
static void log_backend_std_put (const struct log_output *const output, uint32_t flags, struct log_msg *msg)
 Put log message to a standard logger backend. More...
 
static void log_backend_std_panic (const struct log_output *const output)
 Put a standard logger backend into panic mode. More...
 
static void log_backend_std_dropped (const struct log_output *const output, uint32_t cnt)
 Report dropped messages to a standard logger backend. More...
 
static void log_backend_std_sync_string (const struct log_output *const output, uint32_t flags, struct log_msg_ids src_level, uint32_t timestamp, const char *fmt, va_list ap)
 Synchronously process log message by a standard logger backend. More...
 
static void log_backend_std_sync_hexdump (const struct log_output *const output, uint32_t flags, struct log_msg_ids src_level, uint32_t timestamp, const char *metadata, const uint8_t *data, uint32_t length)
 Synchronously process hexdump message by a standard logger backend. More...
 

Detailed Description

Logger backend interface for forwarding to standard backend.

Function Documentation

◆ log_backend_std_dropped()

static void log_backend_std_dropped ( const struct log_output *const  output,
uint32_t  cnt 
)
inlinestatic

#include <include/logging/log_backend_std.h>

Report dropped messages to a standard logger backend.

Parameters
outputLog output instance.
cntNumber of dropped messages.

◆ log_backend_std_get_flags()

static uint32_t log_backend_std_get_flags ( void  )
inlinestatic

◆ log_backend_std_panic()

static void log_backend_std_panic ( const struct log_output *const  output)
inlinestatic

#include <include/logging/log_backend_std.h>

Put a standard logger backend into panic mode.

Parameters
outputLog output instance.

◆ log_backend_std_put()

static void log_backend_std_put ( const struct log_output *const  output,
uint32_t  flags,
struct log_msg msg 
)
inlinestatic

#include <include/logging/log_backend_std.h>

Put log message to a standard logger backend.

Parameters
outputLog output instance.
flagsFormatting flags.
msgLog message.

◆ log_backend_std_sync_hexdump()

static void log_backend_std_sync_hexdump ( const struct log_output *const  output,
uint32_t  flags,
struct log_msg_ids  src_level,
uint32_t  timestamp,
const char *  metadata,
const uint8_t data,
uint32_t  length 
)
inlinestatic

#include <include/logging/log_backend_std.h>

Synchronously process hexdump message by a standard logger backend.

Parameters
outputLog output instance.
flagsFormatting flags.
src_levelLog message source and level.
timestampTimestamp.
metadataString associated with a hexdump.
dataBuffer to dump.
lengthLength of the buffer.

◆ log_backend_std_sync_string()

static void log_backend_std_sync_string ( const struct log_output *const  output,
uint32_t  flags,
struct log_msg_ids  src_level,
uint32_t  timestamp,
const char *  fmt,
va_list  ap 
)
inlinestatic

#include <include/logging/log_backend_std.h>

Synchronously process log message by a standard logger backend.

Parameters
outputLog output instance.
flagsFormatting flags.
src_levelLog message source and level.
timestampTimestamp.
fmtLog string.
apLog string arguments.