Skip to content

Logging

Phil Schatzmann edited this page May 6, 2026 · 4 revisions

This project contains a simple custom logger.

However, when you are using an ESP32 microcontroller, the standard ESP32 logging is used, that can be configured in the Arduino Tools Menu. This can be enable the custom logger in the MavlinkConfig.h configuration file my setting MAVLINK_USE_ESP_LOGGER to false.

If you are using the custom logger, you can configure the logger in your sketch by defining the log level and the output class:

MavlinkLogger.begin(MavlinkLoggerClass::Level::INFO, Serial);

Clone this wiki locally