Mercurial > hg > orthanc
comparison Core/Logging.h @ 4010:f0ee3f1db775
removed unused Logging::SetErrorWarnInfoTraceLoggingFunctions()
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 08 Jun 2020 15:54:30 +0200 |
parents | 7f9909062d9c |
children | 27628b0f6ada |
comparison
equal
deleted
inserted
replaced
4009:16978ee28588 | 4010:f0ee3f1db775 |
---|---|
99 | 99 |
100 ORTHANC_PUBLIC void SetTargetFile(const std::string& path); | 100 ORTHANC_PUBLIC void SetTargetFile(const std::string& path); |
101 | 101 |
102 ORTHANC_PUBLIC void SetTargetFolder(const std::string& path); | 102 ORTHANC_PUBLIC void SetTargetFolder(const std::string& path); |
103 | 103 |
104 #if ORTHANC_ENABLE_LOGGING_STDIO == 1 | |
105 typedef void (*LoggingFunction)(const char*); | |
106 ORTHANC_PUBLIC void SetErrorWarnInfoTraceLoggingFunctions(LoggingFunction errorLogFunc, | |
107 LoggingFunction warningLogfunc, | |
108 LoggingFunction infoLogFunc, | |
109 LoggingFunction traceLogFunc); | |
110 #endif | |
111 | |
112 struct NullStream : public std::ostream | 104 struct NullStream : public std::ostream |
113 { | 105 { |
114 NullStream() : | 106 NullStream() : |
115 std::ios(0), | 107 std::ios(0), |
116 std::ostream(0) | 108 std::ostream(0) |