Mercurial > hg > orthanc-python
diff CodeAnalysis/GlobalFunctions.mustache @ 28:b2bbb516056e
The "Calling Python..." info logs are disabled if "PythonVerbose" is "false"
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 27 Apr 2020 07:59:35 +0200 |
parents | 7ed502b17b8f |
children | 23f3099bed47 |
line wrap: on
line diff
--- a/CodeAnalysis/GlobalFunctions.mustache Tue Apr 07 07:52:07 2020 +0200 +++ b/CodeAnalysis/GlobalFunctions.mustache Mon Apr 27 07:59:35 2020 +0200 @@ -20,7 +20,7 @@ {{#global_functions}} static PyObject* sdk_{{c_function}}(PyObject* module, PyObject* args) { - OrthancPlugins::LogInfo("Calling Python global function: {{c_function}}()"); + PythonLock::LogCall("Calling Python global function: {{c_function}}()"); {{> function_body}} }