From ff6b859c52ad670b3db08e11209dc6833e894611 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sat, 20 Jun 2015 16:44:57 +0200 Subject: o Adding app_name to app, creating a per-app logger. --- apps/sample-convert.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'apps/sample-convert.cpp') diff --git a/apps/sample-convert.cpp b/apps/sample-convert.cpp index baa1447..2dc34b3 100644 --- a/apps/sample-convert.cpp +++ b/apps/sample-convert.cpp @@ -26,6 +26,11 @@ private: string table_name; public: + sample_convert() : app("sample-convert") { + } + + ~sample_convert() = default; + void add_options(po::options_description_easy_init &options) override { options ("help", "produce this help message") -- cgit v1.2.3