8#ifndef _Belle2_DAQLogMessage_h
9#define _Belle2_DAQLogMessage_h
11#include "daq/slc/base/Date.h"
13#include "daq/slc/system/LogFile.h"
29 LogFile::Priority priority,
30 const std::string& message);
33 LogFile::Priority priority,
34 const std::string& message,
38 const std::string& priority,
39 const std::string& message,
43 LogFile::Priority priority,
44 const std::string& category,
45 const std::string& message);
48 LogFile::Priority priority,
50 const std::string& message);
53 LogFile::Priority priority,
54 const std::string& category,
55 const std::string& message,
59 LogFile::Priority priority,
61 const std::string& message,
68 void setId(
int id) { m_id = id; }
69 void setPriority(
const std::string& priority);
70 void setPriority(LogFile::Priority priority);
71 void setCategory(
int category);
72 void setCategory(
const std::string& category);
73 void setNodeName(
const std::string& name);
74 void setMessage(
const std::string& message);
76 void setDate(
int date);
77 void setDate(
const Date& date);
78 int getId()
const {
return m_id; }
79 LogFile::Priority getPriority()
const;
80 int getCategory()
const;
81 const std::string getCategoryName()
const;
82 int getPriorityInt()
const;
83 const std::string getPriorityText()
const;
84 const std::string& getNodeName()
const;
85 const std::string& getMessage()
const;
86 int getDateInt()
const;
87 const Date getDate()
const;
91 std::string m_nodename;
93 std::string m_message;
Abstract base class for different kinds of events.