comparison Applications/Generic/NativeStoneApplicationRunner.cpp @ 541:b336dfa71f12 dev

logs
author Alain Mazy <alain@mazy.be>
date Wed, 20 Mar 2019 10:11:53 +0100
parents a750f11892ec
children 70992b38aa8a 9e3bb8b4f726
comparison
equal deleted inserted replaced
537:d785ee57bd95 541:b336dfa71f12
139 } 139 }
140 140
141 if (parameters.count("verbose")) 141 if (parameters.count("verbose"))
142 { 142 {
143 Orthanc::Logging::EnableInfoLevel(true); 143 Orthanc::Logging::EnableInfoLevel(true);
144 LOG(INFO) << "Verbose logs are enabled";
145 }
146
147 if (parameters.count("trace"))
148 {
149 Orthanc::Logging::EnableTraceLevel(true);
150 VLOG(1) << "Trace logs are enabled";
144 } 151 }
145 152
146 ParseCommandLineOptions(parameters); 153 ParseCommandLineOptions(parameters);
147 154
148 155