otsdaq  v1_01_04
 All Classes Namespaces Functions
configureMessageFacility.hh
1 #ifndef otsdaq_core_MessageFacility_configureMessageFacility_hh
2 #define otsdaq_core_MessageFacility_configureMessageFacility_hh
3 
4 #include <string>
5 
6 namespace ots
7 {
8  static bool messagefacility_initialized = false;
9 
10  // Configure and start the message facility. Provide the program
11  // name so that messages will be appropriately tagged.
12  void configureMessageFacility(char const* progname);
13 
14  // Set the message facility application name using the specified
15  // application type
16  void setMsgFacAppName(const std::string& appType);
17 }
18 
19 #endif /* otsdaq_core_MessageFacility_configureMessageFacility_hh */