From 6fbd39e4afef0eabff9012d4310db638de8d5955 Mon Sep 17 00:00:00 2001 From: Felix Riehn <felix@matilda> Date: Fri, 22 Jan 2021 12:23:09 +0000 Subject: [PATCH] proposal continuous --- corsika/detail/modules/proposal/ContinuousProcess.inl | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/corsika/detail/modules/proposal/ContinuousProcess.inl b/corsika/detail/modules/proposal/ContinuousProcess.inl index 26f604c99..b494c7b72 100644 --- a/corsika/detail/modules/proposal/ContinuousProcess.inl +++ b/corsika/detail/modules/proposal/ContinuousProcess.inl @@ -149,9 +149,11 @@ namespace corsika::proposal { } void ContinuousProcess::showResults() const { - std::cout << " ******************************" << std::endl - << " PROCESS::ContinuousProcess: " << std::endl; - std::cout << " energy lost dE (GeV) : " << energy_lost_ / 1_GeV << std::endl; + CORSIKA_LOG_DEBUG( + " ******************************\n" + " PROCESS::ContinuousProcess: \n" + " energy lost dE (GeV) : {}", + energy_lost_ / 1_GeV); } void ContinuousProcess::reset() { energy_lost_ = 0_GeV; } -- GitLab