aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2017-02-23 22:50:36 +0100
committerSzczepan Zalega <szczepan@nitrokey.com>2017-03-11 15:41:50 +0100
commitee78540d7d9a5d555085b4608ba0ccb4f9ec1801 (patch)
tree96c50696f5f98985955b19402bd70ed0bbab5d67
parent9e40106072be4783a39c3fec37e46922d57a6ee2 (diff)
downloadlibnitrokey-ee78540d7d9a5d555085b4608ba0ccb4f9ec1801.tar.gz
libnitrokey-ee78540d7d9a5d555085b4608ba0ccb4f9ec1801.tar.bz2
Log execution of connect function
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
-rw-r--r--NitrokeyManager.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/NitrokeyManager.cc b/NitrokeyManager.cc
index 1e5c14e..4a4f1d9 100644
--- a/NitrokeyManager.cc
+++ b/NitrokeyManager.cc
@@ -76,6 +76,7 @@ namespace nitrokey{
bool NitrokeyManager::connect(const char *device_model) {
std::lock_guard<std::mutex> lock(mex_dev_com);
+ LOG(__FUNCTION__, nitrokey::log::Loglevel::DEBUG_L2);
switch (device_model[0]){
case 'P':
device = make_shared<Stick10>();