eRPC API Reference  Rev. 1.12.0
NXP Semiconductors
erpc::MessageLoggers Class Reference

Logging messages functionality. More...

#include <erpc_message_loggers.hpp>

+ Collaboration diagram for erpc::MessageLoggers:

Public Member Functions

 MessageLoggers (void)
 Constructor.
 
 ~MessageLoggers (void)
 Transport destructor.
 
bool addMessageLogger (Transport *transport)
 This function add given transport to newly created MessageLogger object. More...
 

Protected Member Functions

erpc_status_t logMessage (MessageBuffer *msg)
 This function add given transport to newly created MessageLogger object. More...
 

Protected Attributes

MessageLoggerm_logger
 

Detailed Description

Logging messages functionality.

Member Function Documentation

bool erpc::MessageLoggers::addMessageLogger ( Transport transport)

This function add given transport to newly created MessageLogger object.

Parameters
[in]transportTransport used for logging messages
Return values
TrueWhen transport was successfully added.
FalseWhen transport wasn't added.
erpc_status_t erpc::MessageLoggers::logMessage ( MessageBuffer msg)
protected

This function add given transport to newly created MessageLogger object.

Parameters
[in]msgBuffer which will be logged.
Returns
The eRPC status based on transport type.

Member Data Documentation

MessageLogger* erpc::MessageLoggers::m_logger
protected

Pointer to first logger.


The documentation for this class was generated from the following file: