Mercurial > hg > orthanc
view OrthancServer/Resources/Samples/CppHelpers/Logging/OrthancLogger.cpp @ 4692:e68edf92e5cc
C-MOVE SCP: added possible DIMSE status "Sub-operations Complete - One or more Failures"
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 11 Jun 2021 10:48:28 +0200 |
parents | d25f4c0fa160 |
children | c847b0dfd255 |
line wrap: on
line source
#include "OrthancLogger.h" #include "Logging.h" namespace OrthancHelpers { void OrthancLogger::Trace(const char *message) { VLOG(1) << GetContext() << " " << message; } void OrthancLogger::Trace(const std::string& message) { VLOG(1) << GetContext() << " " << message; } void OrthancLogger::Info(const char *message) { LOG(INFO) << GetContext() << " " << message; } void OrthancLogger::Info(const std::string& message) { LOG(INFO) << GetContext() << " " << message; } void OrthancLogger::Warning(const char *message) { LOG(WARNING) << GetContext() << " " << message; } void OrthancLogger::Warning(const std::string& message) { LOG(WARNING) << GetContext() << " " << message; } void OrthancLogger::Error(const char *message) { LOG(ERROR) << GetContext() << " " << message; } void OrthancLogger::Error(const std::string& message) { LOG(ERROR) << GetContext() << " " << message; } }