summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRALOVICH, Kristof <tade60@freemail.hu>2014-01-19 17:27:23 +0100
committerRALOVICH, Kristof <tade60@freemail.hu>2014-01-19 17:27:23 +0100
commit6962ecdd2a88eb44629f607b2b5c18ab0dcd4381 (patch)
tree66f026a8f68a63b7879e88feae2e37fcc0bdec91 /src
parent12d948619d517ae5e8e130a83dc8f2e1721d0fa2 (diff)
include timstamp in version string
Diffstat (limited to 'src')
-rw-r--r--src/common.cpp2
-rw-r--r--src/common.hpp1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/common.cpp b/src/common.cpp
index 53f3a8c..1defa35 100644
--- a/src/common.cpp
+++ b/src/common.cpp
@@ -297,7 +297,7 @@ getVersionString()
{
return std::string("") + APP_NAME
+ " v" + std::string(BOOST_STRINGIZE(ANTPM_VERSION))
- + " built " __DATE__ "" //+#ANTPM_SERIAL_IMPL
+ + " built " __DATE__ " " + __TIME__ + "" //+#ANTPM_SERIAL_IMPL
+ " under "
#ifdef __linux__
# ifdef __LP64__
diff --git a/src/common.hpp b/src/common.hpp
index c5e5868..ab57948 100644
--- a/src/common.hpp
+++ b/src/common.hpp
@@ -35,6 +35,7 @@ namespace antpm {
#define LOG_VAR2(x,y) do { LOG(antpm::LOG_INF) << #x << "= " << x << ", " #y << "= " << y << std::endl; } while(0)
#define LOG_VAR3(x,y, z) do { LOG(antpm::LOG_INF) << #x "= " << x << ", " #y "= " << y << ", " #z "= " << z << std::endl; } while(0)
#define LOG_VAR4(x,y, z, w) do { LOG(antpm::LOG_INF) << #x "= " << x << ", " #y "= " << y << ", " #z "= " << z << ", " #w "= " << w << std::endl; } while(0)
+#define LOG_VAR5(x,y, z, w,v) do { LOG(antpm::LOG_INF) << #x "= " << x << ", " #y "= " << y << ", " #z "= " << z << ", " #w "= " << w << ", " #v "= " << v << std::endl; } while(0)
//std::ostream& logger();
#define logger() LOG(antpm::LOG_INF)