aboutsummaryrefslogtreecommitdiff
path: root/include/LongOperationInProgressException.h
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2017-02-21 14:56:07 +0100
committerSzczepan Zalega <szczepan@nitrokey.com>2017-03-11 15:41:49 +0100
commit29fc4839b7aaf76c3587cf0d268546fd1d1390c4 (patch)
treee66eec3090ae3235e740a6fc9690fe913d8a49e8 /include/LongOperationInProgressException.h
parentc13c7fda5b9f69cd46ba40ac5e6cf1cc4bc7e71d (diff)
downloadlibnitrokey-29fc4839b7aaf76c3587cf0d268546fd1d1390c4.tar.gz
libnitrokey-29fc4839b7aaf76c3587cf0d268546fd1d1390c4.tar.bz2
Build debug-log-free library for increased security
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'include/LongOperationInProgressException.h')
-rw-r--r--include/LongOperationInProgressException.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/LongOperationInProgressException.h b/include/LongOperationInProgressException.h
index 7f182b0..5b441c0 100644
--- a/include/LongOperationInProgressException.h
+++ b/include/LongOperationInProgressException.h
@@ -15,7 +15,7 @@ public:
LongOperationInProgressException(
unsigned char _command_id, uint8_t last_command_status, unsigned char _progress_bar_value)
: CommandFailedException(_command_id, last_command_status), progress_bar_value(_progress_bar_value){
- nitrokey::log::Log::instance()(
+ LOG(
std::string("LongOperationInProgressException, progress bar status: ")+
std::to_string(progress_bar_value), nitrokey::log::Loglevel::DEBUG);
}