comparison Core/Logging.h @ 4012:dc6e7c7372ae

merge
author Alain Mazy <alain@mazy.be>
date Mon, 08 Jun 2020 16:04:43 +0200
parents f0ee3f1db775
children 27628b0f6ada
comparison
equal deleted inserted replaced
4011:914b15dedae3 4012:dc6e7c7372ae
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)