diff --git a/pyext/GApplication.i b/pyext/GApplication.i index eadb5a5..87d6be1 100644 --- a/pyext/GApplication.i +++ b/pyext/GApplication.i @@ -108,10 +108,9 @@ public: ***************************************************************************/ %pythoncode %{ # Log the value of a parameter -def _log_value(self, name, value): - self._log.parformat(str(name)) - self._log(str(value)) - self._log('\n') +def _log_value(self, chatter, name, value): + string = gammalib.parformat(str(name))+str(value)+'\n' + self._log_string(chatter, string) GApplication._log_value = _log_value %}