Mercurial > hg > orthanc
diff OrthancServer/Resources/Samples/CppHelpers/Logging/OrthancLogger.h @ 4044:d25f4c0fa160 framework
splitting code into OrthancFramework and OrthancServer
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 10 Jun 2020 20:30:34 +0200 |
parents | Resources/Samples/CppHelpers/Logging/OrthancLogger.h@fbe22748cd9c |
children | c847b0dfd255 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/OrthancServer/Resources/Samples/CppHelpers/Logging/OrthancLogger.h Wed Jun 10 20:30:34 2020 +0200 @@ -0,0 +1,20 @@ +#pragma once + +#include "ILogger.h" + +namespace OrthancHelpers +{ + + class OrthancLogger : public BaseLogger + { + public: + virtual void Trace(const char *message); + virtual void Trace(const std::string &message); + virtual void Info(const char *message); + virtual void Info(const std::string &message); + virtual void Warning(const char *message); + virtual void Warning(const std::string &message); + virtual void Error(const char *message); + virtual void Error(const std::string &message); + }; +} // namespace OrthancHelpers