Mercurial > hg > orthanc
comparison OrthancFramework/Sources/Logging.h @ 5585:5df6d2a8d9f2
fix compatibility of Logging.h with WebAssembly
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 03 May 2024 13:58:28 +0200 |
parents | 4bd7abdfb9cf |
children | f7adfb22e20e |
comparison
equal
deleted
inserted
replaced
5584:1b31ab38ea94 | 5585:5df6d2a8d9f2 |
---|---|
222 std::stringstream messageStream_; | 222 std::stringstream messageStream_; |
223 | 223 |
224 public: | 224 public: |
225 InternalLogger(LogLevel level, | 225 InternalLogger(LogLevel level, |
226 LogCategory category, | 226 LogCategory category, |
227 const char* pluginName /* ignored */, | |
227 const char* file /* ignored */, | 228 const char* file /* ignored */, |
228 int line /* ignored */) : | 229 int line /* ignored */) : |
229 level_(level), | 230 level_(level), |
230 category_(category) | 231 category_(category) |
231 { | |
232 } | |
233 | |
234 // For backward binary compatibility with Orthanc Framework <= 1.8.0 | |
235 InternalLogger(LogLevel level, | |
236 const char* file /* ignored */, | |
237 int line /* ignored */) : | |
238 level_(level), | |
239 category_(LogCategory_GENERIC) | |
240 { | 232 { |
241 } | 233 } |
242 | 234 |
243 ~InternalLogger(); | 235 ~InternalLogger(); |
244 | 236 |