modem: backends: use CONFIG_MODEM_MODULES_LOG_LEVEL

This makes the modem backends use the log level
set for the modem modules instead of the default one.

Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
This commit is contained in:
Tomi Fontanilles 2024-02-06 12:51:46 +02:00 committed by Fabio Baltieri
parent 352b50bfc9
commit 5fc02e3501
4 changed files with 4 additions and 4 deletions

View File

@ -7,7 +7,7 @@
#include <zephyr/modem/backend/tty.h>
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(modem_backend_tty);
LOG_MODULE_REGISTER(modem_backend_tty, CONFIG_MODEM_MODULES_LOG_LEVEL);
#include <fcntl.h>
#include <unistd.h>

View File

@ -10,7 +10,7 @@
#include <zephyr/modem/backend/uart.h>
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(modem_backend_uart);
LOG_MODULE_REGISTER(modem_backend_uart, CONFIG_MODEM_MODULES_LOG_LEVEL);
#include <string.h>

View File

@ -7,7 +7,7 @@
#include "modem_backend_uart_async.h"
#include <zephyr/logging/log.h>
LOG_MODULE_DECLARE(modem_backend_uart);
LOG_MODULE_DECLARE(modem_backend_uart, CONFIG_MODEM_MODULES_LOG_LEVEL);
#include <zephyr/kernel.h>
#include <string.h>

View File

@ -7,7 +7,7 @@
#include "modem_backend_uart_isr.h"
#include <zephyr/logging/log.h>
LOG_MODULE_DECLARE(modem_backend_uart);
LOG_MODULE_DECLARE(modem_backend_uart, CONFIG_MODEM_MODULES_LOG_LEVEL);
#include <string.h>