7 #ifndef __FWATOMSPATCH_INFOS_LOG_HPP__ 8 #define __FWATOMSPATCH_INFOS_LOG_HPP__ 10 #include "fwAtomsPatch/infos/Logger.hpp" 15 # define fwAtomsPatchInfoLogMacro(message) \ 16 ::fwAtomsPatch::infos::Logger::getLogger().info(message) 18 # define fwAtomsPatchErrorLogMacro(message) \ 19 ::fwAtomsPatch::infos::Logger::getLogger().error(message) 21 # define fwAtomsPatchBadCastLogMacro(message) \ 22 ::fwAtomsPatch::infos::Logger::getLogger().badCast(message) 24 # define fwAtomsPatchOutOfRangeLogMacro(message) \ 25 ::fwAtomsPatch::infos::Logger::getLogger().outOfRange(message) 27 # define fwAtomsPatchAddAttributeLogMacro(message) \ 28 ::fwAtomsPatch::infos::Logger::getLogger().addAttribute(message) 30 # define fwAtomsPatchEraseAttributeLogMacro(message) \ 31 ::fwAtomsPatch::infos::Logger::getLogger().eraseAttribute(message) 33 # define fwAtomsPatchReplaceAttributeLogMacro(message) \ 34 ::fwAtomsPatch::infos::Logger::getLogger().replaceAttribute(message) 37 # define fwAtomsPatchInfoLogMacro(message) // nothing 39 # define fwAtomsPatchErrorLogMacro(message) // nothing 41 # define fwAtomsPatchBadCastLogMacro(message) // nothing 43 # define fwAtomsPatchOutOfRangeLogMacro(message) // nothing 45 # define fwAtomsPatchAddAttributeLogMacro(message) // nothing 47 # define fwAtomsPatchEraseAttributeLogMacro(message) // nothing 49 # define fwAtomsPatchReplaceAttributeLogMacro(message) // nothing 53 #endif // __FWATOMSPATCH_INFOS_LOG_HPP__