CGEM BOSS 6.6.5.g
BESIII Offline Software System
Loading...
Searching...
No Matches
LogIssue.h
Go to the documentation of this file.
1/*
2 * LogIssue.h
3 * ers
4 *
5 * Created by Matthias Wiesmann on 06.01.05.
6 * Copyright 2005 CERN. All rights reserved.
7 *
8 */
9
10#ifndef ERS_LOG_ISSUE
11
12#include "ers/Issue.h"
13
14namespace ers {
15
16 /** This issue is used to encapsulate simple text message like those used for logging
17 * \author Matthias Wiesmann
18 * \version 1.0
19 * \brief Wrapper for log messages.
20 */
21
22 class LogIssue : public Issue {
23protected:
25public:
26 static const char * const CLASS_NAME ;
27 LogIssue();
28 LogIssue(const ers::Context &c, severity_t s, const std::string &message);
29 virtual const char* get_class_name() const throw() ;
30
31 } ; // LogIssue
32} // ers
33
34#define ERS_LOG_ISSUE(s,m) LogIssue(ERS_HERE,s,m)
35
36#endif
XmlRpcServer s
Definition: HelloServer.cpp:11
Source context for Issue.
Definition: Context.h:42
Root Issue class.
const std::string & message() const
Message.
Wrapper for log messages.
Definition: LogIssue.h:22
virtual const char * get_class_name() const
Get key for class (used for serialisation)
Definition: LogIssue.cxx:28
static const char *const CLASS_NAME
Definition: LogIssue.h:26
enum ers::_severity_t severity_t