mirror of
https://github.com/diamante0018/master-tool.git
synced 2025-04-22 12:25:43 +00:00
maint: use info instead of log function
This commit is contained in:
parent
57701df839
commit
3bafca1716
@ -50,7 +50,7 @@ namespace crypto_key
|
|||||||
utils::cryptography::ecc::key key{};
|
utils::cryptography::ecc::key key{};
|
||||||
if (load_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;
|
return key;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -61,14 +61,14 @@ namespace
|
|||||||
const auto packet = format_command(true);
|
const auto packet = format_command(true);
|
||||||
s.send(master, packet);
|
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)
|
else if (to_remove != nullptr)
|
||||||
{
|
{
|
||||||
const auto packet = format_command(false);
|
const auto packet = format_command(false);
|
||||||
s.send(master, packet);
|
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());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user