diff options
author | Szczepan Zalega <szczepan@nitrokey.com> | 2017-04-07 07:06:13 +0200 |
---|---|---|
committer | Szczepan Zalega <szczepan@nitrokey.com> | 2017-04-07 07:06:13 +0200 |
commit | b2dec03e9b3df59550e598906a76e51bf721afa6 (patch) | |
tree | 604f6a258f90af0c46f84ded5522952d13072d82 /include/NitrokeyManager.h | |
parent | d5ad36fab5ea6270ff6b0a8b14f8ce10f0fb3c34 (diff) | |
download | libnitrokey-b2dec03e9b3df59550e598906a76e51bf721afa6.tar.gz libnitrokey-b2dec03e9b3df59550e598906a76e51bf721afa6.tar.bz2 |
Handle print function in logger by functor
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'include/NitrokeyManager.h')
-rw-r--r-- | include/NitrokeyManager.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/NitrokeyManager.h b/include/NitrokeyManager.h index a815571..51cd966 100644 --- a/include/NitrokeyManager.h +++ b/include/NitrokeyManager.h @@ -139,6 +139,7 @@ namespace nitrokey { int get_minor_firmware_version(); explicit NitrokeyManager(); + void set_log_function(std::function<void(std::string)> log_function); private: static shared_ptr <NitrokeyManager> _instance; |