BOSS
7.0.8
BESIII Offline Software System
Loading...
Searching...
No Matches
LogIssue.cxx
Go to the documentation of this file.
1
/*
2
* LogIssue.cxx
3
* ers
4
*
5
* Created by Matthias Wiesmann on 06.01.05.
6
* Copyright 2005 CERN. All rights reserved.
7
*
8
*/
9
10
#include "
ers/LogIssue.h
"
11
12
#include <sstream>
13
14
const
char
*
const
ers::LogIssue::CLASS_NAME
=
"ers::LogIssue"
;
15
16
namespace
{
17
ers::Issue
*create_issue() {
return
new
ers::LogIssue
(); }
18
bool
registered =
ers::IssueFactory::instance
()->
register_issue
(
ers::LogIssue::CLASS_NAME
,create_issue) ;
19
}
20
21
ers::LogIssue::LogIssue
() :
Issue
() {}
22
ers::LogIssue::LogIssue
(
const
ers::Context
&c,
severity_t
s
) :
ers
::
Issue
(c,
s
) {}
23
24
ers::LogIssue::LogIssue
(
const
ers::Context
&c,
severity_t
s
,
const
std::string &msg) :
Issue
(c,
s
) {
25
finish_setup
(msg);
26
}
//
27
28
const
char
*
ers::LogIssue::get_class_name
()
const
throw() {
return
ers::LogIssue::CLASS_NAME
; }
s
XmlRpcServer s
Definition:
HelloServer.cpp:11
LogIssue.h
ers::Context
Source context for Issue.
Definition:
Context.h:42
ers::IssueFactory::register_issue
bool register_issue(const std::string &name, CreateIssueCallback creator)
register an issue factory
Definition:
IssueFactory.cxx:47
ers::IssueFactory::instance
static IssueFactory * instance()
method to access singleton
Definition:
IssueFactory.cxx:28
ers::Issue
Root Issue class.
Definition:
ers/ers-00-00-03/ers/Issue.h:40
ers::Issue::finish_setup
void finish_setup(const std::string &message)
Finishes the setup of the Issue.
Definition:
ers/ers-00-00-03/src/Issue.cxx:568
ers::LogIssue
Wrapper for log messages.
Definition:
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::LogIssue
LogIssue()
Definition:
LogIssue.cxx:21
ers::LogIssue::CLASS_NAME
static const char *const CLASS_NAME
Definition:
LogIssue.h:26
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
src
LogIssue.cxx
Generated by
1.9.6