| eRPC API Reference Rev. 1.8.1 NXP Semiconductors

- Main Page
- API Reference
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
erpc::MessageLoggers Class Reference
Infrastructure » Utilities

Logging messages functionality. More...

`#include <erpc_message_loggers.h>`

Collaboration diagram for erpc::MessageLoggers:
[legend]

## Public Member Functions
| MessageLoggers (void)
| Constructor.
virtual | ~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
MessageLogger * | m_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] | transport | Transport used for logging messages

Return values

  True | When transport was successfully added.
  False | When 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] | msg | Buffer 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:

- erpc_message_loggers.h