Mercurial > hg > orthanc
diff 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 |
line wrap: on
line diff
--- a/Core/Logging.h Mon Jun 13 13:39:10 2016 +0200 +++ b/Core/Logging.h Mon Jun 13 15:07:53 2016 +0200 @@ -42,10 +42,16 @@ void Finalize(); + void Reset(); + + void Flush(); + void EnableInfoLevel(bool enabled); void EnableTraceLevel(bool enabled); + void SetTargetFile(const std::string& path); + void SetTargetFolder(const std::string& path); struct NullStream : public std::ostream