From 3bafca171690e284beafaf06ae465b6016ef6815 Mon Sep 17 00:00:00 2001 From: FutureRave Date: Sat, 4 Feb 2023 22:34:22 +0000 Subject: [PATCH] maint: use info instead of log function --- src/crypto_key.cpp | 2 +- src/main.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/crypto_key.cpp b/src/crypto_key.cpp index 372f35a..5147ff1 100644 --- a/src/crypto_key.cpp +++ b/src/crypto_key.cpp @@ -50,7 +50,7 @@ namespace crypto_key utils::cryptography::ecc::key key{}; if (load_key(key)) { - console::log("Loaded cryptographic key: %llX", key.get_hash()); + console::info("Loaded cryptographic key: %llX", key.get_hash()); return key; } diff --git a/src/main.cpp b/src/main.cpp index 1782c7d..c6df811 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -61,14 +61,14 @@ namespace const auto packet = format_command(true); s.send(master, packet); - console::log("Sent kill command to %s", master.to_string().data()); + console::info("Sent kill command to %s", master.to_string().data()); } else if (to_remove != nullptr) { const auto packet = format_command(false); s.send(master, packet); - console::log("Sent remove command to %s", master.to_string().data()); + console::info("Sent remove command to %s", master.to_string().data()); } }