1 #ifndef _tls_G4OutputHandler_h_
2 #define _tls_G4OutputHandler_h_
4 #include <utl/ErrorLogger.h>
5 #include <G4UIsession.hh>
6 #include <G4UImanager.hh>
26 G4UImanager*
const ui = G4UImanager::GetUIpointer();
27 ui->SetCoutDestination(
this);
32 G4UImanager*
const ui = G4UImanager::GetUIpointer();
33 ui->SetCoutDestination(
nullptr);
37 ReceiveG4cout(
const G4String& coutString)
45 ReceiveG4cerr(
const G4String& cerrString)
#define INFO(message)
Macro for logging informational messages.
This class redirects Geant4's streams G4cerr and G4cerr to the framework's utl::ErrorLogger.
#define ERROR(message)
Macro for logging error messages.