EUDAQ
 All Classes Namespaces Files Functions Variables Pages
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
eudaq::LogMessage Class Reference
Inheritance diagram for eudaq::LogMessage:
eudaq::Status eudaq::Serializable

Public Member Functions

 LogMessage (const std::string &msg="", Level level=LVL_EXTRA, const Time &t=Time::Current())
 
 LogMessage (Deserializer &)
 
virtual void Serialize (Serializer &) const
 
virtual void Print (std::ostream &) const
 
void Write (std::ostream &) const
 
LogMessageSetLocation (const std::string &file, unsigned line, const std::string &func="")
 
LogMessageSetSender (const std::string &name)
 
std::string GetSender () const
 
std::string GetSenderType () const
 
std::string GetSenderName () const
 
- Public Member Functions inherited from eudaq::Status
 Status (int level=LVL_OK, const std::string &msg="")
 
 Status (Deserializer &)
 
StatusSetTag (const std::string &name, const std::string &val)
 
std::string GetTag (const std::string &name, const std::string &def="") const
 
virtual void print (std::ostream &) const
 
int GetLevel () const
 

Static Public Member Functions

static LogMessage Read (std::istream &)
 
- Static Public Member Functions inherited from eudaq::Status
static std::string Level2String (int level)
 
static int String2Level (const std::string &)
 

Protected Attributes

std::string m_file
 
std::string m_func
 
std::string m_sendertype
 
std::string m_sendername
 
unsigned m_line
 
Time m_time
 
Time m_createtime
 
- Protected Attributes inherited from eudaq::Status
int m_level
 
std::string m_msg
 
map_t m_tags
 Metadata tags in (name=value) pairs of strings.
 

Additional Inherited Members

- Public Types inherited from eudaq::Status
enum  Level {
  LVL_DEBUG, LVL_OK, LVL_THROW, LVL_EXTRA,
  LVL_INFO, LVL_WARN, LVL_ERROR, LVL_USER,
  LVL_BUSY, LVL_NONE
}
 
- Protected Types inherited from eudaq::Status
typedef std::map< std::string,
std::string > 
map_t
 

The documentation for this class was generated from the following files: