Mercurial > hg > orthanc
comparison Core/Logging.h @ 2015:bcc575732aef
New option "--logfile" to output the Orthanc log to the given file
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 13 Jun 2016 15:07:53 +0200 |
parents | e39a2657f1c6 |
children | 1d7a640c1dda |
comparison
equal
deleted
inserted
replaced
2014:e39a2657f1c6 | 2015:bcc575732aef |
---|---|
40 { | 40 { |
41 void Initialize(); | 41 void Initialize(); |
42 | 42 |
43 void Finalize(); | 43 void Finalize(); |
44 | 44 |
45 void Reset(); | |
46 | |
47 void Flush(); | |
48 | |
45 void EnableInfoLevel(bool enabled); | 49 void EnableInfoLevel(bool enabled); |
46 | 50 |
47 void EnableTraceLevel(bool enabled); | 51 void EnableTraceLevel(bool enabled); |
52 | |
53 void SetTargetFile(const std::string& path); | |
48 | 54 |
49 void SetTargetFolder(const std::string& path); | 55 void SetTargetFolder(const std::string& path); |
50 | 56 |
51 struct NullStream : public std::ostream | 57 struct NullStream : public std::ostream |
52 { | 58 { |