From: tho Date: Mon, 4 Oct 2010 15:30:53 +0000 (+0000) Subject: Console: expanded sys-info X-Git-Url: http://g0dil.de/git?a=commitdiff_plain;h=322b64a27007c166bfe66b3489a29c3a11801708;p=senf.git Console: expanded sys-info git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1724 270642c3-0616-0410-b53a-bc976706d245 --- diff --git a/senf/Utils/Console/Server.cc b/senf/Utils/Console/Server.cc index 188ffbc..5820508 100644 --- a/senf/Utils/Console/Server.cc +++ b/senf/Utils/Console/Server.cc @@ -46,12 +46,21 @@ //#include "Server.mpp" #define prefix_ ///////////////////////////////cc.p//////////////////////////////////////// + +#ifdef SENF_DEBUG +# define BUILD_TYPE "development" +#else +# define BUILD_TYPE "production" +#endif + namespace { senf::console::SysInfo::Proxy addSysInfo ( "SENF: The Simple and Extensible Network Framework\n" " © 2006-2010 Fraunhofer Institute for Open Communication Systems, Network Research\n" " Contact: senf-dev@lists.berlios.de\n" - " Version: " SENF_LIB_VERSION " Revision number: " SENF_REVISION "\n", 0); + " Version: " SENF_LIB_VERSION " Revision number: " SENF_REVISION "\n" + " Build-type: " BUILD_TYPE ", SenfLog compile time limit: " + + senf::str(senf::log::LEVELNAMES[senf::SenfLog::compileLimit::value]), 0); } ///////////////////////////////////////////////////////////////////////////