Skip to main content

Module logger

Module logger 

Source
Expand description

Logging macros that respect the global log level (state::set_log_level). Centralized logging module for the serial plugin

This module provides a unified logging interface with configurable log levels. All logging in the plugin should use these macros to respect the global log level setting.

On Android, and with the log feature anywhere, messages go through the log crate (on Android to logcat under tag SerialPlugin, see android_log). Otherwise they use stdout/stderr (the default).