BOSS 7.0.6
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
14const char* const ers::LogIssue::CLASS_NAME = "ers::LogIssue" ;
15
16namespace {
17 ers::Issue *create_issue() { return new ers::LogIssue(); }
19}
20
23
24ers::LogIssue::LogIssue(const ers::Context &c, severity_t s, const std::string &msg) : Issue(c,s) {
25 finish_setup(msg);
26} //
27
28const char* ers::LogIssue::get_class_name() const throw() { return ers::LogIssue::CLASS_NAME ; }
XmlRpcServer s
Definition: HelloServer.cpp:11
Source context for Issue.
Definition: Context.h:42
bool register_issue(const std::string &name, CreateIssueCallback creator)
register an issue factory
static IssueFactory * instance()
method to access singleton
Root Issue class.
void finish_setup(const std::string &message)
Finishes the setup of the Issue.
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