Skip to main content
Pigweed's logo Pigweed
code_xml
  1. Home
  2. Reference
  3. C/C++
  4. Comms
  5. pw_rpc2
  6. Configuration
Configuration

Overview

Compile-time configuration.

Macros

#define PW_RPC2_LOG_LEVEL   PW_LOG_LEVEL_INFO
 

Macro Definition Documentation

◆ PW_RPC2_LOG_LEVEL

#define PW_RPC2_LOG_LEVEL   PW_LOG_LEVEL_INFO

The log level for pw_rpc2's internal logs. Logs below this level are compiled out.

Set it to PW_LOG_LEVEL_DEBUG to trace connections and calls while debugging, or to PW_LOG_LEVEL_WARN to keep only problems.