00001 #ifndef OTSDAQ_CORE_MESSAGEFACILITY_MESSAGEFACILITY_H 00002 #define OTSDAQ_CORE_MESSAGEFACILITY_MESSAGEFACILITY_H 00003 00004 #include <messagefacility/MessageLogger/MessageLogger.h> 00005 #include "otsdaq-core/MessageFacility/configureMessageFacility.hh" 00006 00007 namespace ots { 00008 00009 inline void INIT_MF(const char* name) 00010 { 00011 configureMessageFacility(name); 00012 setMsgFacAppName(name); 00013 } 00014 00015 00016 } 00017 00018 #endif