From 9a87525b59040d3c3397a235fa5c6a802d4c7a41 Mon Sep 17 00:00:00 2001 From: Eugenio Collado Date: Wed, 8 Jan 2025 14:35:33 +0100 Subject: [PATCH] Update log macro Signed-off-by: Eugenio Collado --- src/cpp/rtps/security/SecurityManager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cpp/rtps/security/SecurityManager.cpp b/src/cpp/rtps/security/SecurityManager.cpp index aa66847770d..420c2b7eb3c 100644 --- a/src/cpp/rtps/security/SecurityManager.cpp +++ b/src/cpp/rtps/security/SecurityManager.cpp @@ -397,10 +397,10 @@ bool SecurityManager::init( if (!e) { // Unexpected code path. Let's log any errors - logError(SECURITY, "Error while configuring security plugin.") + EPROSIMA_LOG_ERROR(SECURITY, "Error while configuring security plugin."); if (0 != strlen(exception.what())) { - logError(SECURITY, exception.what()) + EPROSIMA_LOG_ERROR(SECURITY, exception.what()); } cancel_init();