aboutsummaryrefslogtreecommitdiff
path: root/apps/sample-add-timestamp.cpp
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2015-06-20 16:44:57 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2015-06-20 16:44:57 +0200
commitff6b859c52ad670b3db08e11209dc6833e894611 (patch)
tree694d60baf29854c0c26e98f5db134526613a3b55 /apps/sample-add-timestamp.cpp
parentc7221b3666badbcf016e33997449e74778d979a9 (diff)
downloadble-toys-ff6b859c52ad670b3db08e11209dc6833e894611.tar.gz
ble-toys-ff6b859c52ad670b3db08e11209dc6833e894611.tar.bz2
ble-toys-ff6b859c52ad670b3db08e11209dc6833e894611.tar.xz
ble-toys-ff6b859c52ad670b3db08e11209dc6833e894611.zip
o Adding app_name to app, creating a per-app logger.
Diffstat (limited to 'apps/sample-add-timestamp.cpp')
-rw-r--r--apps/sample-add-timestamp.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/sample-add-timestamp.cpp b/apps/sample-add-timestamp.cpp
index dbf24a1..22d81a6 100644
--- a/apps/sample-add-timestamp.cpp
+++ b/apps/sample-add-timestamp.cpp
@@ -50,6 +50,10 @@ private:
sample_format_type output_format;
public:
+ sample_add_timestamp() : app("sample-add-timestamp") {
+ }
+ ~sample_add_timestamp() = default;
+
void add_options(po::options_description_easy_init &options) override {
options
("help", "produce this help message")