fw4spl
spyLog.hpp File Reference

This file defines SpyLog macros. These macros are used to log messages to a file or to the console during application execution. More...

#include <cassert>
#include <sstream>
#include <boost/preprocessor/comparison/greater_equal.hpp>
#include <boost/preprocessor/control/expr_iif.hpp>
#include "fwCore/log/SpyLogger.hpp"
#include "fwCore/log/ScopedMessage.hpp"
+ Include dependency graph for spyLog.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SPYLOG_ABORT()   std::abort()
 
#define FW_DEPRECATED(oldFnName, newFnName, version)
 Use this macro when deprecating a function to warn the developer. More...
 
#define FW_DEPRECATED_IF(oldFnName, newFnName, version, condition)
 Use this macro when deprecating a function to warn the developer. More...
 
#define FW_DEPRECATED_MSG(message, version)   OSLM_ERROR( "[DEPRECATED] " << message << " It will be removed in '" << version << "'");
 Use this macro when deprecating a function to warn the developer.
 
#define FW_DEPRECATED_KEY(newKey, access, version)
 Use this macro when deprecating a service key to warn the developer. More...
 
#define SLM_TRACE(message)   SL_TRACE(_SPYLOG_SPYLOGGER_, message)
 
#define OSLM_TRACE(message)   OSL_TRACE(_SPYLOG_SPYLOGGER_, message)
 
#define SLM_TRACE_IF(message, cond)   SL_TRACE_IF(_SPYLOG_SPYLOGGER_, message, cond)
 
#define OSLM_TRACE_IF(message, cond)   OSL_TRACE_IF(_SPYLOG_SPYLOGGER_, message, cond)
 
#define SLM_DEBUG(message)   SL_DEBUG(_SPYLOG_SPYLOGGER_, message)
 
#define OSLM_DEBUG(message)   OSL_DEBUG(_SPYLOG_SPYLOGGER_, message)
 
#define SLM_DEBUG_IF(message, cond)   SL_DEBUG_IF(_SPYLOG_SPYLOGGER_, message, cond)
 
#define OSLM_DEBUG_IF(message, cond)   OSL_DEBUG_IF(_SPYLOG_SPYLOGGER_, message, cond)
 
#define SLM_INFO(message)   SL_INFO(_SPYLOG_SPYLOGGER_, message)
 
#define OSLM_INFO(message)   OSL_INFO(_SPYLOG_SPYLOGGER_, message)
 
#define SLM_INFO_IF(message, cond)   SL_INFO_IF(_SPYLOG_SPYLOGGER_, message, cond)
 
#define OSLM_INFO_IF(message, cond)   OSL_INFO_IF(_SPYLOG_SPYLOGGER_, message, cond)
 
#define SLM_WARN(message)   SL_WARN(_SPYLOG_SPYLOGGER_, message)
 
#define OSLM_WARN(message)   OSL_WARN(_SPYLOG_SPYLOGGER_, message)
 
#define SLM_WARN_IF(message, cond)   SL_WARN_IF(_SPYLOG_SPYLOGGER_, message, cond)
 
#define OSLM_WARN_IF(message, cond)   OSL_WARN_IF(_SPYLOG_SPYLOGGER_, message, cond)
 
#define SLM_ERROR(message)   SL_ERROR(_SPYLOG_SPYLOGGER_, message)
 
#define OSLM_ERROR(message)   OSL_ERROR(_SPYLOG_SPYLOGGER_, message)
 
#define SLM_ERROR_IF(message, cond)   SL_ERROR_IF(_SPYLOG_SPYLOGGER_, message, cond)
 
#define OSLM_ERROR_IF(message, cond)   OSL_ERROR_IF(_SPYLOG_SPYLOGGER_, message, cond)
 
#define SLM_FATAL(message)   SL_FATAL(_SPYLOG_SPYLOGGER_, message)
 
#define OSLM_FATAL(message)   OSL_FATAL(_SPYLOG_SPYLOGGER_, message)
 
#define SLM_FATAL_IF(message, cond)   SL_FATAL_IF(_SPYLOG_SPYLOGGER_, message, cond)
 
#define OSLM_FATAL_IF(message, cond)   OSL_FATAL_IF(_SPYLOG_SPYLOGGER_, message, cond)
 
#define OSLM_LOG(message)
 
Special macros
#define SLM_ASSERT(message, cond)    SL_ASSERT(_SPYLOG_SPYLOGGER_, message, cond)
 work like 'assert' from 'cassert', with in addition a message logged by spylog (with FATAL loglevel)
 
#define OSLM_ASSERT(message, cond)    OSL_ASSERT(_SPYLOG_SPYLOGGER_, message, cond)
 work like 'assert' from 'cassert', with in addition a message logged by spylog (with FATAL loglevel)
 
#define SLM_PRETTY_FUNC()   __func__
 work like 'assert' from 'cassert', with in addition a message logged by spylog (with FATAL loglevel)
 
#define SLM_TRACE_FUNC()   SLM_TRACE(SLM_PRETTY_FUNC())
 Trace contextual function signature. More...
 

Detailed Description

This file defines SpyLog macros. These macros are used to log messages to a file or to the console during application execution.

Six log levels are defined :

  1. Fatal
  2. Error
  3. Warning
  4. Info
  5. Debug
  6. Trace

Log level is set by defining SPYLOG_LEVEL to N where 0 < N <= 6. If log level is set to N, every log level lesser than N will be enabled, the other macro will be define but won't have any effect.

Each log level macro has two variant : SLM_<level> and OSLM_<level>.

  • SLM_ variant is a simple log message macros, append a loglevel-tagged log message to the logger.
    • Example : SLM_FATAL( "This should not append" );
  • OSLM_ variant is a stringstream log message macros, it is the same as "Simple log message macros", but accept a stream as argument.
    • Example : OSLM_INFO( "Count : " << i );

FATAL macros have a particular behavior : the application is aborted after the message was logged.

Definition in file spyLog.hpp.

Macro Definition Documentation

#define FW_DEPRECATED (   oldFnName,
  newFnName,
  version 
)
Value:
OSLM_ERROR( "[DEPRECATED] '" << oldFnName << "' is deprecated and will be removed in '" << version << "', use '" \
<< newFnName << "' instead. It is still used by '" + this->getClassname() + "'." \
);
FWATOMSPATCH_API std::string getClassname(const ::fwAtoms::Object::sptr &obj)
Get classname of an object.
#define OSLM_ERROR(message)
Definition: spyLog.hpp:274

Use this macro when deprecating a function to warn the developer.

Definition at line 344 of file spyLog.hpp.

Referenced by ctrlSelection::updater::SObjFromSlot::addOrSwap(), fwServices::IService::getObject(), ctrlSelection::updater::SObjFromSlot::removeIfPresent(), ctrlSelection::SAddField::starting(), and ctrlSelection::updater::SObjFromSlot::swap().

#define FW_DEPRECATED_IF (   oldFnName,
  newFnName,
  version,
  condition 
)
Value:
OSLM_ERROR_IF("[DEPRECATED] '" << oldFnName << "' is deprecated and will be removed in '" << version << "', use '" \
<< newFnName << "' instead. It is still used by '" + this->getClassname() + "'.", \
condition);
FWATOMSPATCH_API std::string getClassname(const ::fwAtoms::Object::sptr &obj)
Get classname of an object.
#define OSLM_ERROR_IF(message, cond)
Definition: spyLog.hpp:278

Use this macro when deprecating a function to warn the developer.

Definition at line 352 of file spyLog.hpp.

Referenced by fwServices::IService::getAutoConnections().

#define FW_DEPRECATED_KEY (   newKey,
  access,
  version 
)
Value:
OSLM_ERROR( "[DEPRECATED] The key '" << newKey << "' is not correctly set. Please correct the configuration to " \
"set an '" << access << "' key named '" << newKey << "'. The support of the old key will be removed " \
"in '" << version << "'.");
#define OSLM_ERROR(message)
Definition: spyLog.hpp:274

Use this macro when deprecating a service key to warn the developer.

Definition at line 366 of file spyLog.hpp.

Referenced by preferences::SPreferences::configuring(), ioPacs::SPacsConfigurationInitializer::configuring(), activities::SSeriesSignal::getAutoConnections(), ioAtoms::SReader::getIOPathType(), uiReconstructionQt::OrganMaterialEditor::materialNotification(), uiReconstructionQt::RepresentationEditor::notifyMaterial(), uiMedDataQt::editor::SModelSeriesList::onCurrentItemChanged(), uiImageQt::ImageTransparency::onModifyTransparency(), uiImageQt::ImageTransparency::onModifyVisibility(), uiReconstructionQt::OrganMaterialEditor::refreshMaterial(), uiImageQt::SliceIndexPositionEditor::sliceIndexNotification(), uiImageQt::SliceIndexPositionEditor::sliceTypeNotification(), ctrlMemory::LockDumpSrv::starting(), uiImageQt::SliceIndexPositionEditor::starting(), uiIO::action::SExportWithSeriesDB::starting(), ioPacs::SPacsConfigurationEditor::starting(), uiImageQt::SliceIndexPositionEditor::swapping(), uiMedDataQt::editor::SModelSeriesList::swapping(), activities::action::SActivityLauncher::translateParameters(), uiImageQt::SliceIndexPositionEditor::updateSliceIndexFromImg(), uiImageQt::SliceIndexPositionEditor::updateSliceTypeFromImg(), uiMeasurement::action::AddDistance::updating(), uiMeasurement::action::SAddLabeledPoint::updating(), uiMeasurement::action::RemoveLandmark::updating(), uiMeasurement::action::RemoveDistance::updating(), uiMeasurement::action::ShowDistance::updating(), ioITK::SImageSeriesWriter::updating(), ioITK::SJpgImageSeriesWriter::updating(), uiReconstructionQt::OrganMaterialEditor::updating(), ioITK::InrImageWriterService::updating(), uiImageQt::ImageInfo::updating(), ioITK::InrImageReaderService::updating(), ioITK::JpgImageWriterService::updating(), uiReconstructionQt::RepresentationEditor::updating(), uiImageQt::ImageTransparency::updating(), ioPacs::SPacsConfigurationInitializer::updating(), ioDicom::SFilterSelectorDialog::updating(), ioITK::SInrSeriesDBReader::updating(), ioVtkGdcm::SSeriesDBLazyReader::updating(), uiImageQt::SliceIndexPositionEditor::updating(), ioVtkGdcm::SImageSeriesWriter::updating(), ioVtkGdcm::SSeriesDBReader::updating(), ioData::TransformationMatrix3DWriterService::updating(), uiMedDataQt::SSeriesViewer::updating(), uiIO::action::SSeriesDBMerger::updating(), ioData::TransformationMatrix3DReaderService::updating(), uiIO::action::SExportWithSeriesDB::updating(), ioVTK::SMeshReader::updating(), ioVTK::SImageReader::updating(), ioVTK::SImageSeriesWriter::updating(), ioVTK::SModelSeriesReader::updating(), ioVTK::SMeshWriter::updating(), ioVTK::SModelSeriesWriter::updating(), ioVTK::SModelSeriesObjWriter::updating(), ioVTK::SSeriesDBReader::updating(), ioPacs::SPacsConfigurationEditor::updating(), ioData::MeshWriterService::updating(), ioAtoms::SWriter::updating(), ioVTK::SImageWriter::updating(), uiIO::editor::SIOSelector::updating(), ioAtoms::SReader::updating(), uiMedDataQt::editor::SActivityWizard::updating(), and activities::action::SActivityLauncher::updating().

#define OSLM_DEBUG_IF (   message,
  cond 
)    OSL_DEBUG_IF(_SPYLOG_SPYLOGGER_, message, cond)
#define OSLM_ERROR (   message)    OSL_ERROR(_SPYLOG_SPYLOGGER_, message)

Error stringstream message macros.

Definition at line 274 of file spyLog.hpp.

Referenced by fwGdcmIO::helper::DicomAnonymizer::addShiftDateTag(), fwRuntime::profile::Activater::apply(), uiMedDataQt::widget::ActivityDataView::checkAndComputeData(), visuVTKAdaptor::SImagesBlend::checkImageInformations(), fwTest::DicomReaderTest::checkSeriesACHGenou(), fwTest::DicomReaderTest::checkSeriesACHGenouTrimmed(), uiPreferences::action::SPreferencesConfiguration::configuring(), fwCom::helper::SigSlotConnection::connect(), fwGdcmIO::helper::DicomAnonymizer::DicomAnonymizer(), fwTools::System::getTempPath(), fwTools::os::getUserDataDir(), vtkGdcmIO::helper::ImageDicomSource::ImageDicomSource(), guiQt::editor::DynamicView::launchTab(), fwDataIO::reader::TagReader::read(), fwDataIO::reader::MeshReader::read(), fwServices::IService::setObjectId(), fwTools::Type::setType(), preferences::Plugin::start(), guiQt::SSignalShortcut::starting(), guiQt::editor::SDynamicView::swapping(), visuVTKAdaptor::SMesh::updateColorMode(), visuVTKAdaptor::SMeshNormals::updateNormalMode(), uiGenericQt::action::ShowHelpContents::updating(), ioTuto::ExternalDataReaderService::updating(), guiQt::editor::SActivityView::updating(), activities::SActivitySequencer::updating(), ioAtoms::SWriter::updating(), ioAtoms::SReader::updating(), activities::action::SActivityLauncher::updating(), fwRuntime::Extension::validate(), fwRuntime::io::Validator::validate(), ioAtoms::SWriter::versionSelection(), fwDataIO::writer::TransformationMatrix3DWriter::write(), fwDataIO::writer::MeshWriter::write(), and vtkGdcmIO::SeriesDBLazyReader::~SeriesDBLazyReader().

#define OSLM_LOG (   message)
Value:
__FWCORE_EXPR_BLOCK( \
std::stringstream stream; \
stream << message; \
_SPYLOG_SPYLOGGER_.log(stream.str(), __FILE__, __LINE__); \
)

Log message macros.

Definition at line 294 of file spyLog.hpp.

#define OSLM_TRACE (   message)    OSL_TRACE(_SPYLOG_SPYLOGGER_, message)

Trace stringstream message macros.

Definition at line 230 of file spyLog.hpp.

Referenced by fwAtomsPatch::patcher::DefaultPatcher::applyContextualPatch(), fwAtomsPatch::patcher::DefaultPatcher::applyStructuralPatch(), basicRegistration::SPointListRegistration::computeRegistration(), Tuto14MeshGenerator::AlgoMeshDeformation::computeSimu(), uiGenericQt::action::ShowHelpContents::configuring(), uiGenericQt::action::SShowAbout::configuring(), visuVTKAdaptor::SImageSlice::configuring(), fwMemory::BufferManager::dumpBuffer(), fwRuntime::getAllConfigurationElementsForPoint(), fwAtoms::Numeric::getString(), fwPacsIO::SeriesRetriever::handleSTORERequest(), vtkGdcmIO::helper::ImageDicomSource::ImageDicomSource(), fwMath::intersect_triangle(), fwGuiQt::TimerQt::isRunning(), fwRenderQt::Scene2DGraphicsView::keyPressEvent(), guiQt::editor::Code::onModifyValue(), fwGuiQt::SliceSelector::onSliceIndexChange(), fwGuiQt::dialog::ProgressDialog::operator()(), fwDcmtkIO::reader::main::ImageLazySource::read(), fwMemory::BufferManager::readBufferImpl(), itk::InrImageIO::ReadImageInformation(), fwGdcmIO::reader::ie::Image::readImagePixelModule(), fwGdcmIO::reader::ie::Image::readImagePlaneModule(), fwGdcmIO::reader::ie::Surface::readSurfaceMeshModule(), fwGdcmIO::reader::ie::Image::readVOILUTModule(), fwMemory::BufferManager::restoreBuffer(), fwRuntime::profile::Profile::start(), scene2D::adaptor::SCurvedHistogram::starting(), visuVTKAdaptor::SReconstruction::starting(), fwRuntime::Bundle::stop(), visuVTKAdaptor::SImagesProbeCursor::stopping(), visuVTKAdaptor::SProbeCursor::stopping(), fwAtomsPatch::PatchingManager::transformTo(), ioDicom::SSliceIndexDicomEditor::triggerNewSlice(), ioPacs::SSliceIndexDicomPullerEditor::triggerNewSlice(), visuVTKAdaptor::SImage::updateImageOpacity(), visuVTKAdaptor::SNegatoSlicingInteractor::updateSliceType(), opVTKMesh::SVTKMesher::updating(), opVTKMesh::action::SMeshCreation::updating(), guiQt::editor::Code::updating(), ctrlSelection::ImageUpdateAxis::updating(), gui::action::SPushObject::updating(), ioVTK::SImageSeriesReader::updating(), ioVTK::SImageReader::updating(), ioVTK::SImageSeriesWriter::updating(), ioDicomWeb::SSliceIndexDicomPullerEditor::updating(), ioVTK::SImageWriter::updating(), fwDataIO::writer::TransformationMatrix3DWriter::write(), fwDataIO::writer::GzBufferImageWriter::write(), fwMemory::BufferManager::writeBufferImpl(), fwGdcmIO::writer::ie::Image::writeImagePixelModule(), fwGdcmIO::writer::ie::Image::writeImagePlaneModule(), fwGdcmIO::writer::ie::SpatialFiducials::writeLandmarks(), fwGdcmIO::writer::ie::Image::writeVOILUTModule(), and vtkGdcmIO::SeriesDBLazyReader::~SeriesDBLazyReader().

#define OSLM_TRACE_IF (   message,
  cond 
)    OSL_TRACE_IF(_SPYLOG_SPYLOGGER_, message, cond)

Conditionnal trace stringstream message macros.

Definition at line 234 of file spyLog.hpp.

#define SLM_DEBUG_IF (   message,
  cond 
)    SL_DEBUG_IF(_SPYLOG_SPYLOGGER_, message, cond)
#define SLM_ERROR (   message)    SL_ERROR(_SPYLOG_SPYLOGGER_, message)

Error message macros.

Definition at line 272 of file spyLog.hpp.

Referenced by fwRuntime::profile::Stopper::apply(), uiMedDataQt::widget::ActivityDataView::checkAndComputeData(), fwGdcmIO::helper::DicomSeries::complete(), fwServices::IService::configure(), uiVisuQt::STransformEditor::configuring(), preferences::SPreferences::configuring(), ctrlCamp::SCopy::configuring(), basicRegistration::SPointListRegistration::configuring(), gui::action::SModifyLayout::configuring(), fwLog::Logger::critical(), uiMedDataQt::widget::ActivityDataView::fillInformation(), fwGdcmIO::helper::DicomSeries::fillSeries(), fwGdcmIO::helper::DicomDir::findDicomDir(), monitor::generateSIGSEV(), fwServices::IService::getAutoConnections(), fwRuntime::getBundleResourceFilePath(), fwRuntime::getBundleResourcePath(), fwServices::AppConfigManager::getConfigRoot(), fwGdcmIO::helper::DicomDataTools::getPhotometricInterpretation(), fwRuntime::Bundle::getVersion(), monitor::installSIGSEVBacktrace(), ioPacs::SSliceIndexDicomPullerEditor::pullInstance(), fwDataIO::reader::TagReader::read(), fwDataIO::reader::MeshReader::read(), fwGdcmIO::helper::DicomDir::retrieveDicomSeries(), memory::Plugin::start(), guiQt::editor::SParameters::starting(), guiQt::editor::SParameters::stopping(), basicRegistration::SPointListRegistration::swapping(), ioPacs::SSliceIndexDicomPullerEditor::triggerNewSlice(), uiImageQt::ImageInfo::updating(), ctrlCamp::SCopy::updating(), activities::SActivitySequencer::updating(), uiMedDataQt::editor::SActivityWizard::updating(), and vtkGdcmIO::SeriesDBLazyReader::~SeriesDBLazyReader().

#define SLM_FATAL (   message)    SL_FATAL(_SPYLOG_SPYLOGGER_, message)

Fatal message macros.

Definition at line 283 of file spyLog.hpp.

Referenced by fwGui::GuiRegistry::actionServiceSetActive(), fwGui::GuiRegistry::actionServiceSetExecutable(), fwGui::GuiRegistry::actionServiceSetVisible(), fwGui::GuiRegistry::actionServiceStarting(), fwGui::GuiRegistry::actionServiceStopping(), fwRuntime::profile::Starter::apply(), fwRuntime::profile::Uninitializer::apply(), fwRuntime::profile::Initializer::apply(), fwData::ReconstructionTraits::cachedDeepCopy(), fwData::Spline::cachedDeepCopy(), fwData::StructureTraits::cachedDeepCopy(), ctrlSelection::ImageUpdateAxis::configuring(), visuVTKAdaptor::SImageSeries::configuring(), scene2D::adaptor::SNegato::configuring(), uiImageQt::SliceIndexPositionEditor::configuring(), visuVTKAdaptor::SModelSeries::configuring(), visuVTKAdaptor::SNegatoMPR::configuring(), visuVTKAdaptor::SMesh::configuring(), monitor::generateSIGSEV(), fwServices::AppConfigManager::getConfigRoot(), fwGui::builder::ISlideViewBuilder::initialize(), fwRenderVTK::OffScreenInteractorManager::installInteractor(), fwServices::registry::ServiceFactory::parseBundleInformation(), fwServices::helper::Config::parseService(), fwGdcmIO::helper::DicomAnonymizer::preservePrivateTag(), fwRuntime::io::BundleDescriptorReader::processConfigurationElement(), fwData::Object::shallowCopy(), fwRenderVTK::SRender::starting(), visuVTKAdaptor::SSnapshot::stopping(), dataReg::parser::Object::updating(), dataReg::parser::TransformationMatrix3D::updating(), dataReg::parser::GenericField::updating(), dataReg::parser::List::updating(), dataReg::parser::Composite::updating(), dataReg::parser::TransferFunction::updating(), and vtkGdcmIO::SeriesDBLazyReader::~SeriesDBLazyReader().

#define SLM_INFO_IF (   message,
  cond 
)    SL_INFO_IF(_SPYLOG_SPYLOGGER_, message, cond)

Conditionnal info message macros.

Definition at line 254 of file spyLog.hpp.

Referenced by fwServices::AppConfigManager::startBundle(), and visuVTKAdaptor::SNegatoSlicingInteractor::updateSliceType().

#define SLM_TRACE (   message)    SL_TRACE(_SPYLOG_SPYLOGGER_, message)

Trace message macros.

Definition at line 228 of file spyLog.hpp.

Referenced by fwDicomIOFilter::custom::DefaultDicomFilter::apply(), fwData::Composite::at(), uiGenericQt::action::SShowAbout::configuring(), visuVTKAdaptor::SImageSliceOrientationText::configuring(), ioDcmtk::SSeriesDBReader::configuring(), visuVTKAdaptor::SImageSlice::configuring(), fwRuntime::Bundle::getVersion(), fwPacsIO::SeriesRetriever::handleSTORERequest(), fwPacsIO::SeriesEnquirer::handleSTORERequest(), fwRuntime::Bundle::initialize(), fwDcmtkTools::Dictionary::loadDictionary(), fwGui::registrar::ViewRegistrar::manage(), scene2D::adaptor::SSquare::processInteraction(), fwPacsIO::SeriesEnquirer::pullInstanceUsingGetRetrieveMethod(), fwPacsIO::SeriesEnquirer::pullInstanceUsingMoveRetrieveMethod(), fwPacsIO::SeriesEnquirer::pullSeriesUsingGetRetrieveMethod(), fwPacsIO::SeriesEnquirer::pullSeriesUsingMoveRetrieveMethod(), fwPacsIO::SeriesEnquirer::pushSeries(), fwDataIO::reader::MeshReader::read(), fwDcmtkIO::reader::rgblookup::ImageRGBLookupLazySource::read(), fwDcmtkIO::reader::main::ImageLazySource::read(), fwGui::builder::ContainerBuilder::setParent(), fwRuntime::Bundle::start(), uiMedDataQt::editor::SSelector::starting(), fwRuntime::Bundle::stop(), fwAtomsPatch::PatchingManager::transformTo(), fwGui::registrar::ViewRegistrar::unmanage(), visuVTKAdaptor::SImage::updateImageOpacity(), ioPacs::SPacsConfigurationEditor::updating(), visuVTKAdaptor::SNegatoMPR::updating(), fwGdcmIO::writer::ie::Surface::writeSOPCommonModule(), fwGdcmIO::writer::ie::Image::writeSOPCommonModule(), and vtkGdcmIO::SeriesDBLazyReader::~SeriesDBLazyReader().

#define SLM_TRACE_FUNC ( )    SLM_TRACE(SLM_PRETTY_FUNC())

Trace contextual function signature.

Generate a log trace message with the (contextual) function signature.

Definition at line 329 of file spyLog.hpp.

Referenced by filterVRRender::MedicalDataV2::apply(), filterVRRender::MedicalDataV1::apply(), fwDataTools::fieldHelper::MedicalImageHelpers::checkImageValidity(), fwDataCamp::visitor::CompareObjects::CompareObjects(), Tuto14MeshGenerator::AlgoMeshDeformation::computeSimu(), ioData::TransformationMatrix3DReaderService::configureWithIHM(), ioData::TransformationMatrix3DWriterService::configureWithIHM(), ioData::STrianMeshReader::configureWithIHM(), ioITK::SImageSeriesWriter::configureWithIHM(), ioVTK::SMeshReader::configureWithIHM(), ioITK::SJpgImageSeriesWriter::configureWithIHM(), ioITK::InrImageWriterService::configureWithIHM(), ioITK::InrImageReaderService::configureWithIHM(), ioVTK::SImageSeriesWriter::configureWithIHM(), ioITK::JpgImageWriterService::configureWithIHM(), ioVTK::SMeshWriter::configureWithIHM(), ioData::MeshWriterService::configureWithIHM(), ioVTK::SImageWriter::configureWithIHM(), ioVTK::SModelSeriesWriter::configureWithIHM(), ioVTK::SModelSeriesObjWriter::configureWithIHM(), ioITK::SInrSeriesDBReader::configureWithIHM(), gui::action::SQuit::configuring(), uiGenericQt::action::LaunchBrowserActionService::configuring(), uiVisuQt::PointEditor::configuring(), ioPacs::SProgressBarController::configuring(), opVTKMesh::action::SMeshCreation::configuring(), ioPacs::SPacsConfigurationInitializer::configuring(), gui::action::SSlotCaller::configuring(), uiReconstructionQt::OrganMaterialEditor::configuring(), uiVisu::action::CrossTypeAction::configuring(), ioDicom::SFilterSelectorDialog::configuring(), uiReconstructionQt::RepresentationEditor::configuring(), monitorQt::DumpEditor::configuring(), guiQt::editor::Code::configuring(), uiImageQt::ImageTransparency::configuring(), vtkSimpleNegato::SRenderer::configuring(), uiIO::action::SSeriesDBMerger::configuring(), gui::action::SModifyLayout::configuring(), gui::aspect::SDefaultToolBar::configuring(), ioDicom::SSliceIndexDicomEditor::configuring(), ioPacs::SPacsConfigurationEditor::configuring(), ioData::SplineReaderService::configuring(), uiMedDataQt::editor::SModelSeriesList::configuring(), fwGui::FrameLayoutManager::createFrame(), fwGui::ToolboxLayoutManager::createLayout(), fwGui::LineLayoutManager::createLayout(), fwGui::layoutManager::ToolBarLayoutManager::createLayout(), fwGui::layoutManager::MenuLayoutManager::createLayout(), fwGui::layoutManager::MenuBarLayoutManager::createLayout(), fwGui::TabLayoutManager::createLayout(), fwGui::CardinalLayoutManager::createLayout(), fwGui::IFrameSrv::destroy(), fwGui::FrameLayoutManager::destroyFrame(), fwGdcmIO::container::DicomInstance::DicomInstance(), fwData::Edge::Edge(), fwData::Image::getAllocatedSizeInBytes(), fwDataCamp::visitor::GetObject::GetObject(), fwServices::registry::ObjectService::getRegistered(), ioVtkGdcm::SSeriesDBLazyReader::getSelectorDialogTitle(), ioVtkGdcm::SSeriesDBReader::getSelectorDialogTitle(), ioDcmtk::SSeriesDBReader::getSelectorDialogTitle(), ioGdcm::SSeriesDBReader::getSelectorDialogTitle(), fwData::Image::getSizeInBytes(), fwVtkIO::ImageReader::ImageReader(), fwVtkIO::ImageWriter::ImageWriter(), ioITK::InrImageWriterService::info(), gui::frame::SDefaultFrame::info(), gui::view::SDefaultView::info(), ioITK::InrImageReaderService::info(), ioITK::JpgImageWriterService::info(), ioVTK::SMeshReader::info(), gui::aspect::SDefaultToolBar::info(), Tuto14MeshGenerator::AlgoMeshDeformation::initSimu(), fwData::Line::Line(), fwData::List::List(), fwVtkIO::MeshReader::MeshReader(), fwVtkIO::MeshWriter::MeshWriter(), fwVtkIO::MetaImageReader::MetaImageReader(), fwVtkIO::MetaImageWriter::MetaImageWriter(), fwVtkIO::ModelSeriesObjWriter::ModelSeriesObjWriter(), uiMedDataQt::editor::SSeries::onExportClicked(), uiImageQt::ImageTransparency::onModifyTransparency(), uiImageQt::ImageTransparency::onModifyVisibility(), fwGuiQt::SliceSelector::onSliceIndexChange(), uiVisuQt::SnapshotEditor::onSnapButton(), fwData::PlaneList::PlaneList(), vtkGdcmIO::SeriesDBReader::read(), fwDataIO::reader::DictionaryReader::read(), fwDcmtkIO::SeriesDBReader::read(), vtkGdcmIO::SeriesDBLazyReader::read(), fwDataCamp::visitor::RecursiveLock::RecursiveLock(), fwRuntime::profile::Profile::run(), ioVTK::SImageWriter::saveImage(), fwGdcmIO::reader::SeriesDB::SeriesDB(), vtkGdcmIO::SeriesDBLazyReader::SeriesDBLazyReader(), fwVtkIO::SeriesDBReader::SeriesDBReader(), ioDicom::SFilterSelectorDialog::SFilterSelectorDialog(), vtkSimpleNegato::SRenderer::SRenderer(), monitor::Plugin::start(), ctrlSelection::Plugin::start(), visuVTKQt::Plugin::start(), uiVisu::action::CrossTypeAction::starting(), uiVisuQt::PointEditor::starting(), gui::action::SDefault::starting(), gui::action::SQuit::starting(), ioITK::SImageSeriesWriter::starting(), gui::aspect::SDefaultToolBar::starting(), gui::view::SDefaultView::starting(), gui::frame::SDefaultFrame::starting(), gui::action::SDoNothing::starting(), ioITK::SJpgImageSeriesWriter::starting(), ioITK::InrImageWriterService::starting(), ioDicom::SFilterSelectorDialog::starting(), uiReconstructionQt::OrganMaterialEditor::starting(), opVTKMesh::action::SMeshCreation::starting(), ioITK::JpgImageWriterService::starting(), guiQt::editor::Code::starting(), ioPacs::SProgressBarController::starting(), Tuto14MeshGenerator::SMeshModifier::starting(), uiReconstructionQt::RepresentationEditor::starting(), gui::action::SSlotCaller::starting(), ioPacs::SPacsConfigurationInitializer::starting(), ioPacs::SQueryEditor::starting(), uiImageQt::ImageTransparency::starting(), ioData::TransformationMatrix3DWriterService::starting(), ioDicomWeb::SQueryEditor::starting(), ioData::TransformationMatrix3DReaderService::starting(), ioVtkGdcm::SSeriesDBLazyReader::starting(), gui::aspect::SDefaultMenu::starting(), gui::aspect::SDefaultMenuBar::starting(), ioVTK::SMeshReader::starting(), ioVtkGdcm::SSeriesDBReader::starting(), ioVTK::SImageSeriesWriter::starting(), ioVTK::SModelSeriesReader::starting(), ioVTK::SMeshWriter::starting(), ioVTK::SModelSeriesWriter::starting(), ioDcmtk::SSeriesDBReader::starting(), ioVTK::SModelSeriesObjWriter::starting(), ioVTK::SSeriesDBReader::starting(), gui::action::SModifyLayout::starting(), ioDicom::SFilterSelectionEditor::starting(), ioVTK::SImageWriter::starting(), uiMedDataQt::editor::SModelSeriesList::starting(), ioPacs::SPacsConfigurationEditor::starting(), ioGdcm::SSeriesDBReader::starting(), visuVTKQt::Plugin::stop(), uiVisu::action::CrossTypeAction::stopping(), gui::action::SDefault::stopping(), gui::action::SQuit::stopping(), uiVisuQt::PointEditor::stopping(), ioITK::SImageSeriesWriter::stopping(), gui::action::SDoNothing::stopping(), gui::aspect::SDefaultToolBar::stopping(), ioITK::SJpgImageSeriesWriter::stopping(), ioITK::InrImageWriterService::stopping(), gui::frame::SDefaultFrame::stopping(), gui::view::SDefaultView::stopping(), ioDicom::SFilterSelectorDialog::stopping(), uiReconstructionQt::OrganMaterialEditor::stopping(), opVTKMesh::action::SMeshCreation::stopping(), ioITK::JpgImageWriterService::stopping(), Tuto14MeshGenerator::SMeshModifier::stopping(), guiQt::editor::Code::stopping(), ioPacs::SProgressBarController::stopping(), uiReconstructionQt::RepresentationEditor::stopping(), gui::action::SSlotCaller::stopping(), ioPacs::SQueryEditor::stopping(), ioPacs::SPacsConfigurationInitializer::stopping(), uiImageQt::ImageTransparency::stopping(), ioDicomWeb::SQueryEditor::stopping(), ioData::TransformationMatrix3DWriterService::stopping(), ioVtkGdcm::SSeriesDBLazyReader::stopping(), ioVtkGdcm::SSeriesDBReader::stopping(), ioData::TransformationMatrix3DReaderService::stopping(), gui::aspect::SDefaultMenu::stopping(), gui::aspect::SDefaultMenuBar::stopping(), ioVTK::SMeshReader::stopping(), ioDcmtk::SSeriesDBReader::stopping(), ioVTK::SModelSeriesReader::stopping(), ioVTK::SImageSeriesWriter::stopping(), ioVTK::SMeshWriter::stopping(), ioVTK::SModelSeriesWriter::stopping(), guiQt::editor::SListView::stopping(), ioVTK::SModelSeriesObjWriter::stopping(), gui::action::SModifyLayout::stopping(), ioVTK::SSeriesDBReader::stopping(), ioDicom::SFilterSelectionEditor::stopping(), guiQt::editor::SSlider::stopping(), uiMedDataQt::editor::SModelSeriesList::stopping(), ioVTK::SImageWriter::stopping(), ioDicom::SSliceIndexDicomEditor::stopping(), ioPacs::SPacsConfigurationEditor::stopping(), guiQt::editor::SDynamicView::stopping(), guiQt::editor::DynamicView::stopping(), ioGdcm::SSeriesDBReader::stopping(), activities::action::SActivityLauncher::stopping(), uiMeasurement::action::ShowLandmark::swapping(), fwVtkIO::helper::TransferFunction::toBWVtkLookupTable(), uiMeasurement::action::AddLandmark::updating(), uiMeasurement::action::ShowLandmark::updating(), uiMeasurement::action::LoadLandmark::updating(), uiMeasurement::action::SaveLandmark::updating(), uiGenericQt::action::ShowHelpContents::updating(), gui::action::SDefault::updating(), uiGenericQt::action::LaunchBrowserActionService::updating(), ioITK::SImageSeriesWriter::updating(), gui::action::SDoNothing::updating(), gui::aspect::SDefaultToolBar::updating(), gui::action::SSlotCaller::updating(), ioITK::SJpgImageSeriesWriter::updating(), ioITK::InrImageWriterService::updating(), gui::frame::SDefaultFrame::updating(), gui::view::SDefaultView::updating(), uiGenericQt::action::SShowAbout::updating(), gui::action::SModifyLayout::updating(), ioITK::InrImageReaderService::updating(), opVTKMesh::action::SMeshCreation::updating(), ioITK::JpgImageWriterService::updating(), vtkSimpleMesh::SSimpleMeshDeformation::updating(), ioPacs::SProgressBarController::updating(), gui::action::SSignal::updating(), Tuto14MeshGenerator::SMeshModifier::updating(), ioPacs::SQueryEditor::updating(), ioDicom::SFilterSelectorDialog::updating(), ioDicomWeb::SQueryEditor::updating(), ioITK::SInrSeriesDBReader::updating(), gui::aspect::SDefaultMenu::updating(), gui::aspect::SDefaultMenuBar::updating(), ioVtkGdcm::SSeriesDBReader::updating(), ioData::TransformationMatrix3DWriterService::updating(), ioDcmtk::SSeriesDBReader::updating(), uiIO::action::SSeriesDBMerger::updating(), ioData::TransformationMatrix3DReaderService::updating(), ioData::STrianMeshReader::updating(), ioVTK::SImageSeriesWriter::updating(), ioVTK::SModelSeriesWriter::updating(), ioVTK::SModelSeriesObjWriter::updating(), ioData::SplineReaderService::updating(), ioPacs::SPacsConfigurationEditor::updating(), ioData::MeshWriterService::updating(), ioVTK::SImageWriter::updating(), ioGdcm::SSeriesDBReader::updating(), fwVtkIO::VtiImageReader::VtiImageReader(), fwVtkIO::VtiImageWriter::VtiImageWriter(), fwGdcmIO::reader::iod::ComprehensiveSRIOD::~ComprehensiveSRIOD(), fwGdcmIO::reader::iod::CTMRImageIOD::~CTMRImageIOD(), fwGdcmIO::container::DicomSurface::~DicomSurface(), fwData::Edge::~Edge(), fwData::Histogram::~Histogram(), fwData::Image::~Image(), fwVtkIO::ImageReader::~ImageReader(), fwVtkIO::ImageWriter::~ImageWriter(), fwData::Line::~Line(), fwData::List::~List(), fwVtkIO::MeshReader::~MeshReader(), fwVtkIO::MeshWriter::~MeshWriter(), fwVtkIO::MetaImageReader::~MetaImageReader(), fwVtkIO::MetaImageWriter::~MetaImageWriter(), fwVtkIO::ModelSeriesObjWriter::~ModelSeriesObjWriter(), fwData::Node::~Node(), fwData::PlaneList::~PlaneList(), fwGuiQt::QtMainFrame::~QtMainFrame(), fwData::Reconstruction::~Reconstruction(), fwGdcmIO::reader::Series::~Series(), fwGdcmIO::reader::SeriesDB::~SeriesDB(), vtkGdcmIO::SeriesDBLazyReader::~SeriesDBLazyReader(), fwVtkIO::SeriesDBReader::~SeriesDBReader(), ioDicom::SFilterSelectorDialog::~SFilterSelectorDialog(), fwGdcmIO::reader::iod::SpatialFiducialsIOD::~SpatialFiducialsIOD(), fwData::Spline::~Spline(), vtkSimpleNegato::SRenderer::~SRenderer(), fwGdcmIO::reader::iod::SurfaceSegmentationIOD::~SurfaceSegmentationIOD(), fwVtkIO::VtiImageReader::~VtiImageReader(), and fwVtkIO::VtiImageWriter::~VtiImageWriter().

#define SLM_TRACE_IF (   message,
  cond 
)    SL_TRACE_IF(_SPYLOG_SPYLOGGER_, message, cond)
#define SLM_WARN (   message)    SL_WARN(_SPYLOG_SPYLOGGER_, message)

Warning message macros.

Definition at line 261 of file spyLog.hpp.

Referenced by fwDicomIOFilter::modifier::SliceThicknessModifier::apply(), fwRuntime::profile::Starter::apply(), ioPacs::SSeriesPusher::checkSeriesOnPACS(), fwGdcmIO::reader::ie::Image::computeInverseMatrix(), fwDicomIOFilter::IFilter::configureWithGUI(), uiMedDataQt::editor::SSelector::configuring(), fwGui::IActionSrv::confirmAction(), fwGdcmIO::helper::DicomDataTools::convertToPresentationType(), fwGdcmIO::helper::DicomDataTools::convertToRepresentationMode(), fwDcmtkIO::reader::main::ImageReader::createTemporaryBuffer(), ioPacs::SQueryEditor::displayErrorMessage(), ioDicom::SSliceIndexDicomEditor::displayErrorMessage(), ioPacs::SSliceIndexDicomPullerEditor::displayErrorMessage(), fwCommand::UndoRedoManager::enqueue(), fwServices::IService::getAutoConnections(), fwGui::layoutManager::IFrameLayoutManager::initialize(), fwGui::registrar::MenuRegistrar::onItemAction(), fwGui::registrar::ToolBarRegistrar::onItemAction(), fwVtkWheelWidget::PrintSelf(), fwVtkWheelRepresentation::PrintSelf(), ioPacs::SSliceIndexDicomPullerEditor::pullInstance(), ioPacs::SSeriesPuller::pullSeries(), ioPacs::SSeriesPusher::pushSeries(), fwDcmtkIO::reader::ImageStorageReader::read(), fwDcmtkIO::helper::DicomDir::readDicomDir(), fwGdcmIO::helper::StructuredReport::readSubNode(), fwRuntime::RuntimeException::RuntimeException(), fwPacsIO::SeriesEnquirer::sendGetRequest(), fwPacsIO::SeriesEnquirer::sendStoreRequest(), scene2D::adaptor::SViewportRangeSelector::starting(), scene2D::adaptor::SSquare::stopping(), ctrlCamp::SCopy::stopping(), ioPacs::SSeriesPuller::storeInstanceCallback(), uiMeasurement::action::AddDistance::updating(), ioPacs::SProgressBarController::updating(), ioDicom::SFilterSelectorDialog::updating(), ctrlCamp::SExtractObj::updating(), ioDicomWeb::SQueryEditor::updating(), ioDicomWeb::SSeriesPusher::updating(), ioDicomWeb::SSeriesPuller::updating(), uiPreferences::action::SPreferencesConfiguration::updating(), ioDicomWeb::SSliceIndexDicomPullerEditor::updating(), uiIO::editor::SIOSelector::updating(), fwLog::Logger::warning(), and fwGdcmIO::writer::Series::write().

#define SLM_WARN_IF (   message,
  cond 
)    SL_WARN_IF(_SPYLOG_SPYLOGGER_, message, cond)

Conditionnal warning message macros.

Definition at line 265 of file spyLog.hpp.

Referenced by ctrlSelection::SManage::addOrSwap(), uiGenericQt::action::SShowAbout::configuring(), fwRenderVTK::SRender::configuring(), fwGdcmIO::helper::Encoding::convertString(), fwGdcmIO::helper::DicomDir::findDicomDir(), fwRuntime::getCfgAsAnExtension(), fwServices::registry::ObjectService::getObjects(), ioPacs::SSeriesPusher::progressCallback(), fwGdcmIO::reader::ie::Surface::readSurfaceSegmentationAndSurfaceMeshModules(), fwGdcmIO::reader::ie::Surface::readSurfaceSegmentationModule(), fwGdcmIO::container::DicomInstance::readUIDFromDicomSeries(), ctrlSelection::SManage::removeIfPresent(), fwPacsIO::SeriesEnquirer::sendMoveRequest(), uiMedDataQt::widget::PatientEditor::setSeries(), visuVTKAdaptor::SOrientationMarker::starting(), vtkSimpleMesh::SSimpleMeshDeformation::stopDeformation(), ctrlCamp::SCopy::stopping(), fwRuntime::Runtime::unregisterExecutableFactory(), fwRuntime::Runtime::unregisterExtension(), fwRuntime::Runtime::unregisterExtensionPoint(), uiGenericQt::action::LaunchBrowserActionService::updating(), gui::action::SPushField::updating(), gui::action::SPushObject::updating(), ctrlCamp::SExtractObj::updating(), ioDicomWeb::SSeriesPusher::updating(), uiIO::editor::SIOSelector::updating(), activities::action::SActivityLauncher::updating(), fwGdcmIO::writer::iod::SpatialFiducialsIOD::write(), fwGdcmIO::writer::ie::Surface::writeSurfaceSegmentationAndSurfaceMeshModules(), and vtkGdcmIO::SeriesDBLazyReader::~SeriesDBLazyReader().