#include <BesLogSession.hh>
Public Member Functions | |
BesLogSession () | |
BesLogSession () | |
G4int | ReceiveG4cerr (G4String cerrString) |
G4int | ReceiveG4cerr (G4String cerrString) |
G4int | ReceiveG4cout (G4String coutString) |
G4int | ReceiveG4cout (G4String coutString) |
~BesLogSession () | |
~BesLogSession () | |
Private Attributes | |
std::ofstream | errFile |
std::ofstream | logFile |
|
00017 { 00018 logFile.open("boost.log"); 00019 errFile.open("boost.err"); 00020 // G4UImanager::GetUIpointer()->SetCoutDestination(this); 00021 }
|
|
|
|
|
|
|
|
|
|
00036 { 00037 errFile << cerrString << std::flush; 00038 return 0; 00039 }
|
|
|
|
00030 { 00031 logFile << coutString << std::flush; 00032 return 0; 00033 }
|
|
|
|
|