00001 /* 00002 * LogIssue.h 00003 * ers 00004 * 00005 * Created by Matthias Wiesmann on 06.01.05. 00006 * Copyright 2005 CERN. All rights reserved. 00007 * 00008 */ 00009 00010 #ifndef ERS_LOG_ISSUE 00011 00012 #include "ers/Issue.h" 00013 00014 namespace ers { 00015 00022 class LogIssue : public Issue { 00023 protected: 00024 LogIssue(const ers::Context &c, severity_t s); 00025 public: 00026 static const char * const CLASS_NAME ; 00027 LogIssue(); 00028 LogIssue(const ers::Context &c, severity_t s, const std::string &message); 00029 virtual const char* get_class_name() const throw() ; 00030 00031 } ; // LogIssue 00032 } // ers 00033 00034 #define ERS_LOG_ISSUE(s,m) LogIssue(ERS_HERE,s,m) 00035 00036 #endif