CGEM BOSS
6.6.5.f
BESIII Offline Software System
Loading...
Searching...
No Matches
Event/ers/ers-00-00-03/ers/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
14
namespace
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
{
23
protected
:
24
LogIssue
(
const
ers::Context
&c,
severity_t
s
);
25
public
:
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
s
XmlRpcServer s
Definition:
HelloServer.cpp:11
ers::Context
Source context for Issue.
Definition:
Event/ers/ers-00-00-03/ers/Context.h:42
ers::Issue
Root Issue class.
Definition:
Event/ers/ers-00-00-03/ers/Issue.h:40
ers::Issue::message
const std::string & message() const
Message.
Definition:
ers/ers-00-00-03/src/Issue.cxx:689
ers::LogIssue
Wrapper for log messages.
Definition:
Event/ers/ers-00-00-03/ers/LogIssue.h:22
ers::LogIssue::get_class_name
virtual const char * get_class_name() const
Get key for class (used for serialisation)
Definition:
LogIssue.cxx:28
ers::LogIssue::CLASS_NAME
static const char *const CLASS_NAME
Definition:
Event/ers/ers-00-00-03/ers/LogIssue.h:26
ers::LogIssue::LogIssue
LogIssue()
Definition:
LogIssue.cxx:21
ers
Definition:
Event/ers/ers-00-00-03/ers/Assertion.h:20
ers::severity_t
enum ers::_severity_t severity_t
source
Event
ers
ers-00-00-03
ers
LogIssue.h
Generated by
1.9.6