Commit 64f717cc authored by Tien-Thinh Nguyen's avatar Tien-Thinh Nguyen

Add debug info

parent 52ed32fc
...@@ -168,6 +168,13 @@ void nrf_app::handle_register_nf_instance( ...@@ -168,6 +168,13 @@ void nrf_app::handle_register_nf_instance(
Logger::nrf_app().debug( Logger::nrf_app().debug(
"Added/Updated NF Profile with the NF instance info"); "Added/Updated NF Profile with the NF instance info");
sn.get()->display(); sn.get()->display();
nlohmann::json json_tmp = {};
sn.get()->to_json(json_tmp);
Logger::nrf_app().info(
"Added/Updated NF Instance, NF info: %s", json_tmp.dump().c_str());
} else { } else {
// error // error
Logger::nrf_app().warn( Logger::nrf_app().warn(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment