#include <ELlog4cplus.h>
Public Member Functions | |
virtual ELlog4cplus * | clone () const |
ELlog4cplus () | |
ELlog4cplus (const ELlog4cplus &orig) | |
virtual bool | log (const ErrorObj &msg) |
void | setAppl (xdaq::Application *a) |
void | xxxxSet (int i) |
void | xxxxShout () |
virtual | ~ELlog4cplus () |
Public Member Functions inherited from edm::service::ELdestination | |
ELdestination () | |
virtual void | finish () |
virtual ELstring | getNewline () const |
virtual | ~ELdestination () |
Protected Member Functions | |
virtual void | attachEpilogue () |
virtual void | attachTime () |
virtual void | emit (const ELstring &s, bool nl=false) |
virtual void | includeContext () |
virtual void | includeModule () |
virtual void | includeSerial () |
virtual void | includeSubroutine () |
virtual void | includeText () |
virtual void | includeTime () |
ELlog4cplus & | operator= (const ELlog4cplus &orig) |
virtual void | separateEpilogue () |
virtual void | separateTime () |
virtual void | summarization (const ELstring &fullTitle, const ELstring &sumLines) |
virtual void | suppressContext () |
virtual void | suppressModule () |
virtual void | suppressSerial () |
virtual void | suppressSubroutine () |
virtual void | suppressText () |
virtual void | suppressTime () |
virtual void | useContext () |
virtual void | useFullContext () |
Protected Member Functions inherited from edm::service::ELdestination | |
virtual void | changeFile (std::ostream &os) |
virtual void | changeFile (const ELstring &filename) |
virtual void | clearSummary () |
virtual void | excludeModule (ELstring const &moduleName) |
virtual void | filterModule (ELstring const &moduleName) |
virtual void | flush () |
virtual void | ignoreModule (ELstring const &moduleName) |
virtual void | respondToModule (ELstring const &moduleName) |
virtual void | setTableLimit (int n) |
virtual std::map< ELextendedID, StatsCount > | statisticsMap () const |
virtual void | summary (ELdestControl &dest, const ELstring &title="") |
virtual void | summary (std::ostream &os, const ELstring &title="") |
virtual void | summary (ELstring &s, const ELstring &title="") |
virtual void | summary () |
virtual void | summaryForJobReport (std::map< std::string, double > &sm) |
virtual bool | thisShouldBeIgnored (const ELstring &s) const |
virtual void | wipe () |
virtual void | zero () |
Protected Attributes | |
int | charsOnLine |
std::ostringstream * | os |
std::ostringstream | os_ |
bool | osIsOwned |
bool | wantEpilogueSeparate |
bool | wantFullContext |
bool | wantModule |
bool | wantSerial |
bool | wantSomeContext |
bool | wantSubroutine |
bool | wantText |
bool | wantTimeSeparate |
bool | wantTimestamp |
ELextendedID | xid |
int | xxxxInt |
Protected Attributes inherited from edm::service::ELdestination | |
bool | ignoreMostModules |
ELset_string | ignoreThese |
ELstring | indent |
ELlimitsTable | limits |
int | lineLength |
ELstring | newline |
ELstring | preamble |
bool | respondToMostModules |
ELset_string | respondToThese |
ELseverityLevel | threshold |
ELseverityLevel | traceThreshold |
Private Attributes | |
xdaq::Application * | appl_ |
Friends | |
class | service::ELdestControl |
Additional Inherited Members | |
Static Public Attributes inherited from evf::RunBase | |
static xdata::UnsignedInteger32 | runNumber_ =0 |
static std::string | sourceId_ ="Offline" |
Static Protected Attributes inherited from edm::service::ELdestination | |
static const int | defaultLineLength = 80 |
Definition at line 51 of file ELlog4cplus.h.
edm::ELlog4cplus::ELlog4cplus | ( | ) |
Definition at line 84 of file ELlog4cplus.cc.
References dtNoiseDBValidation_cfg::cerr, emit(), edm::formatTime(), edm::service::ELdestination::lineLength, and cond::rpcobgas::time.
Referenced by clone().
edm::ELlog4cplus::ELlog4cplus | ( | const ELlog4cplus & | orig | ) |
Definition at line 119 of file ELlog4cplus.cc.
References dtNoiseDBValidation_cfg::cerr, edm::service::ELdestination::ignoreMostModules, edm::service::ELdestination::ignoreThese, edm::service::ELdestination::indent, edm::service::ELdestination::limits, edm::service::ELdestination::lineLength, edm::service::ELdestination::newline, osIsOwned, edm::service::ELdestination::preamble, edm::service::ELdestination::respondToMostModules, edm::service::ELdestination::respondToThese, edm::service::ELdestination::threshold, and edm::service::ELdestination::traceThreshold.
|
virtual |
Definition at line 163 of file ELlog4cplus.cc.
References dtNoiseDBValidation_cfg::cerr, os, and osIsOwned.
|
protectedvirtual |
Reimplemented from edm::service::ELdestination.
Definition at line 495 of file ELlog4cplus.cc.
References wantEpilogueSeparate.
|
protectedvirtual |
Reimplemented from edm::service::ELdestination.
Definition at line 492 of file ELlog4cplus.cc.
References wantTimeSeparate.
|
virtual |
Implements edm::service::ELdestination.
Definition at line 182 of file ELlog4cplus.cc.
References ELlog4cplus().
|
protectedvirtual |
Definition at line 395 of file ELlog4cplus.cc.
References dtNoiseDBValidation_cfg::cerr, charsOnLine, edm::first(), edm::service::ELdestination::indent, prof2calltree::last, edm::service::ELdestination::lineLength, edm::service::ELdestination::newline, alignCSCRings::s, and edm::second().
Referenced by Vispa.Share.ThreadChain.ThreadChain::addCommand(), Vispa.Views.PropertyView.PropertyView::addProperty(), Vispa.Gui.BoxContentDialog.BoxContentDialog::apply(), Vispa.Plugins.ConfigEditor.CodeTableView.CodeTableView::applyButtonClicked(), Vispa.Views.LineDecayView.LineDecayContainer::autolayoutPostprocess(), Vispa.Gui.WidgetContainer.WidgetContainer::autosize(), Vispa.Gui.PortConnection.PointToPointConnection::delete(), Vispa.Gui.VispaWidget.VispaWidget::delete(), Vispa.Views.WidgetView.WidgetView::deselectAllWidgets(), ELlog4cplus(), Vispa.Main.MainWindow.MainWindow::event(), Vispa.Gui.FindDialog.FindDialog::filter(), Vispa.Gui.FindDialog.FindDialog::findNext(), Vispa.Gui.FindDialog.FindDialog::findPrevious(), Vispa.Views.PropertyView.TextEdit::focusOutEvent(), Vispa.Plugins.ConfigEditor.CodeTableView.CodeTableView::importButtonClicked(), Vispa.Views.TreeView.TreeView::itemSelectionChanged(), Vispa.Views.TableView.TableView::itemSelectionChanged(), Vispa.Views.PropertyView.ComboBoxReturn::keyPressEvent(), Vispa.Plugins.ConfigEditor.CodeTableView.CodeTableView::keyPressEvent(), Vispa.Gui.PortConnection.PointToPointConnection::keyPressEvent(), Vispa.Gui.VispaWidget.VispaWidget::keyPressEvent(), log(), Vispa.Views.LineDecayView.ParticleWidget::mouseDoubleClickEvent(), Vispa.Gui.Header.Header::mousePressEvent(), Vispa.Views.AbstractView.NoneView::mousePressEvent(), Vispa.Gui.SimpleDraggableTreeWidget.SimpleDraggableTreeWidget::mousePressEvent(), Vispa.Views.WidgetView.WidgetView::mousePressEvent(), Vispa.Views.TreeView.TreeView::mousePressEvent(), Vispa.Views.RootCanvasView.RootCanvasView::mousePressEvent(), Vispa.Views.TableView.TableView::mousePressEvent(), Vispa.Views.LineDecayView.ParticleWidget::mousePressEvent(), Vispa.Gui.VispaWidget.VispaWidget::mouseReleaseEvent(), Vispa.Plugins.EventBrowser.EventBrowserTabController.EventBrowserTabController::navigate(), Vispa.Views.LineDecayView.LineDecayView::onSelected(), Vispa.Plugins.ConfigEditor.CodeTableView.CodeTableView::removeButtonClicked(), Vispa.Views.PropertyView.PropertyView::removeProperty(), Vispa.Gui.FindDialog.FindDialog::reset(), Vispa.Share.ThreadChain.ThreadChain::run(), Vispa.Gui.ZoomableScrollArea.ZoomableScrollArea::setZoom(), summarization(), Vispa.Views.BoxDecayView.BoxDecayView::toggleCollapsed(), Vispa.Views.PropertyView.PropertyView::valueChanged(), Vispa.Views.PropertyView.TextEditWithButtonProperty::valueChanged(), Vispa.Gui.ZoomableScrollArea.ZoomableScrollArea::wheelEvent(), Vispa.Views.WidgetView.WidgetView::widgetDoubleClicked(), and Vispa.Views.WidgetView.WidgetView::widgetSelected().
|
protectedvirtual |
Reimplemented from edm::service::ELdestination.
Definition at line 482 of file ELlog4cplus.cc.
References wantSomeContext.
|
protectedvirtual |
Reimplemented from edm::service::ELdestination.
Definition at line 473 of file ELlog4cplus.cc.
References wantModule.
|
protectedvirtual |
Reimplemented from edm::service::ELdestination.
Definition at line 486 of file ELlog4cplus.cc.
References wantSerial.
|
protectedvirtual |
Reimplemented from edm::service::ELdestination.
Definition at line 476 of file ELlog4cplus.cc.
References wantSubroutine.
|
protectedvirtual |
Reimplemented from edm::service::ELdestination.
Definition at line 479 of file ELlog4cplus.cc.
References wantText.
|
protectedvirtual |
Reimplemented from edm::service::ELdestination.
Definition at line 470 of file ELlog4cplus.cc.
References wantTimestamp.
|
virtual |
Reimplemented from edm::service::ELdestination.
Definition at line 189 of file ELlog4cplus.cc.
References edm::service::ELlimitsTable::add(), appl_, dtNoiseDBValidation_cfg::cerr, edm::service::ELcontextSupplier::context(), edm::ErrorObj::context(), edm::ELseverityLevel::ELsev_error, edm::ELseverityLevel::ELsev_info, edm::ELseverityLevel::ELsev_success, edm::ELseverityLevel::ELsev_warning, emit(), edm::formatTime(), edm::service::ELadministrator::getContextSupplier(), edm::ELseverityLevel::getLevel(), edm::ELseverityLevel::getSymbol(), edm::ELextendedID::id, edm::ErrorObj::idOverflow(), edm::service::ELadministrator::instance(), edm::ErrorObj::items(), edm::service::ELdestination::limits, edm::ELextendedID::module, os, edm::service::ELdestination::preamble, alignCSCRings::s, edm::ErrorObj::serial(), edm::ELextendedID::severity, edm::ELextendedID::subroutine, edm::service::ELdestination::thisShouldBeIgnored(), edm::service::ELdestination::threshold, edm::ErrorObj::timestamp(), edm::service::ELdestination::traceThreshold, wantEpilogueSeparate, wantFullContext, wantModule, wantSerial, wantSomeContext, wantSubroutine, wantText, wantTimeSeparate, wantTimestamp, edm::ErrorObj::xid(), and xid.
|
protected |
|
protectedvirtual |
Reimplemented from edm::service::ELdestination.
Definition at line 494 of file ELlog4cplus.cc.
References wantEpilogueSeparate.
|
protectedvirtual |
Reimplemented from edm::service::ELdestination.
Definition at line 491 of file ELlog4cplus.cc.
References wantTimeSeparate.
void edm::ELlog4cplus::setAppl | ( | xdaq::Application * | a | ) |
Definition at line 531 of file ELlog4cplus.cc.
References a, appl_, and gather_cfg::cout.
Referenced by ML::MLlog4cplus::MLlog4cplus().
|
protectedvirtual |
Reimplemented from edm::service::ELdestination.
Definition at line 502 of file ELlog4cplus.cc.
References emit(), geometryCSVtoXML::line, edm::service::ELdestination::lineLength, os, lumiQueryAPI::q, and indexGen::title.
|
protectedvirtual |
Reimplemented from edm::service::ELdestination.
Definition at line 483 of file ELlog4cplus.cc.
References wantSomeContext.
|
protectedvirtual |
Reimplemented from edm::service::ELdestination.
Definition at line 474 of file ELlog4cplus.cc.
References wantModule.
|
protectedvirtual |
Reimplemented from edm::service::ELdestination.
Definition at line 485 of file ELlog4cplus.cc.
References wantSerial.
|
protectedvirtual |
Reimplemented from edm::service::ELdestination.
Definition at line 477 of file ELlog4cplus.cc.
References wantSubroutine.
|
protectedvirtual |
Reimplemented from edm::service::ELdestination.
Definition at line 480 of file ELlog4cplus.cc.
References wantText.
|
protectedvirtual |
Reimplemented from edm::service::ELdestination.
Definition at line 471 of file ELlog4cplus.cc.
References wantTimestamp.
|
protectedvirtual |
Reimplemented from edm::service::ELdestination.
Definition at line 489 of file ELlog4cplus.cc.
References wantFullContext.
|
protectedvirtual |
Reimplemented from edm::service::ELdestination.
Definition at line 488 of file ELlog4cplus.cc.
References wantFullContext.
void edm::ELlog4cplus::xxxxSet | ( | int | i | ) |
Definition at line 382 of file ELlog4cplus.cc.
void edm::ELlog4cplus::xxxxShout | ( | ) |
Definition at line 386 of file ELlog4cplus.cc.
References dtNoiseDBValidation_cfg::cerr, and xxxxInt.
|
friend |
Definition at line 53 of file ELlog4cplus.h.
|
private |
Definition at line 143 of file ELlog4cplus.h.
|
protected |
Definition at line 120 of file ELlog4cplus.h.
Referenced by emit().
|
protected |
Definition at line 118 of file ELlog4cplus.h.
Referenced by log(), summarization(), and ~ELlog4cplus().
|
protected |
Definition at line 117 of file ELlog4cplus.h.
|
protected |
Definition at line 119 of file ELlog4cplus.h.
Referenced by ELlog4cplus(), and ~ELlog4cplus().
|
protected |
Definition at line 124 of file ELlog4cplus.h.
Referenced by attachEpilogue(), log(), and separateEpilogue().
|
protected |
Definition at line 124 of file ELlog4cplus.h.
Referenced by log(), useContext(), and useFullContext().
|
protected |
Definition at line 124 of file ELlog4cplus.h.
Referenced by includeModule(), log(), and suppressModule().
|
protected |
Definition at line 124 of file ELlog4cplus.h.
Referenced by includeSerial(), log(), and suppressSerial().
|
protected |
Definition at line 124 of file ELlog4cplus.h.
Referenced by includeContext(), log(), and suppressContext().
|
protected |
Definition at line 124 of file ELlog4cplus.h.
Referenced by includeSubroutine(), log(), and suppressSubroutine().
|
protected |
Definition at line 124 of file ELlog4cplus.h.
Referenced by includeText(), log(), and suppressText().
|
protected |
Definition at line 124 of file ELlog4cplus.h.
Referenced by attachTime(), log(), and separateTime().
|
protected |
Definition at line 124 of file ELlog4cplus.h.
Referenced by includeTime(), log(), and suppressTime().
|
protected |
Definition at line 121 of file ELlog4cplus.h.
Referenced by log().
|
protected |
Definition at line 135 of file ELlog4cplus.h.
Referenced by xxxxSet(), and xxxxShout().