00001 #ifndef otsdaq_core_MessageFacility_configureMessageFacility_hh 00002 #define otsdaq_core_MessageFacility_configureMessageFacility_hh 00003 00004 #include <string> 00005 00006 namespace ots 00007 { 00008 static bool messagefacility_initialized = false; 00009 00010 // Configure and start the message facility. Provide the program 00011 // name so that messages will be appropriately tagged. 00012 void configureMessageFacility(char const* progname); 00013 00014 // Set the message facility application name using the specified 00015 // application type 00016 void setMsgFacAppName(const std::string& appType); 00017 } 00018 00019 #endif /* otsdaq_core_MessageFacility_configureMessageFacility_hh */