diff options
author | Mauro Sardara <msardara+fdio@cisco.com> | 2017-03-24 15:19:45 +0100 |
---|---|---|
committer | Mauro Sardara <msardara+fdio@cisco.com> | 2017-03-24 15:19:45 +0100 |
commit | f936493d920ba7e6e1a628e2932c61495a7eb3ca (patch) | |
tree | 56622397179ae750f8c2a1ceaf944aab76dcf6e6 /icnet | |
parent | 2d16ddb2623249d3cbdde89288ae047416b62cb6 (diff) |
Android log syntax fix
Change-Id: I30702996f5f80837fffffe09a2da8542e6fa2487
Signed-off-by: Mauro Sardara <msardara+fdio@cisco.com>
Diffstat (limited to 'icnet')
-rw-r--r-- | icnet/transport/icnet_transport_raaqm.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/icnet/transport/icnet_transport_raaqm.cc b/icnet/transport/icnet_transport_raaqm.cc index 1a2856e0..7216d29e 100644 --- a/icnet/transport/icnet_transport_raaqm.cc +++ b/icnet/transport/icnet_transport_raaqm.cc @@ -289,11 +289,11 @@ void RaaqmTransportProtocol::start() { socket_->getSocketOption(INTEREST_LIFETIME, interest_lifetime); socket_->getSocketOption(BETA_VALUE, beta); #ifdef __ANDROID__ - __android_log_print(ANDROID_LOG_DEBUG, "Drop Factor: %f\n", drop_factor); - __android_log_print(ANDROID_LOG_DEBUG, "Minimum drop prob: %f\n", minimum_drop_probability); - __android_log_print(ANDROID_LOG_DEBUG, "Sample number: %d\n", sample_number); - __android_log_print(ANDROID_LOG_DEBUG, "lifetime: %d\n", interest_lifetime); - __android_log_print(ANDROID_LOG_DEBUG, "beta: %f\n", beta); + __android_log_print(ANDROID_LOG_DEBUG, "libICNet", "Drop Factor: %f\n", drop_factor); + __android_log_print(ANDROID_LOG_DEBUG, "libICNet", "Minimum drop prob: %f\n", minimum_drop_probability); + __android_log_print(ANDROID_LOG_DEBUG, "libICNet", "Sample number: %d\n", sample_number); + __android_log_print(ANDROID_LOG_DEBUG, "libICNet", "lifetime: %d\n", interest_lifetime); + __android_log_print(ANDROID_LOG_DEBUG, "libICNet", "beta: %f\n", beta); #else std::cout << "Drop Factor: " << drop_factor << std::endl; std::cout << "Minimum drop prob: " << minimum_drop_probability << std::endl; |