--- yoda/techmodel/PscuReader.cpp 2004/07/06 12:20:23 1.1 +++ yoda/techmodel/PscuReader.cpp 2004/09/21 20:24:33 1.2 @@ -1,27 +1,27 @@ /** @file - * $Source: /home/cvspamela/yoda/techmodel/PscuReader.cpp,v $ - * $Id: PscuReader.cpp,v 1.6 2004/03/16 10:18:28 nagni Exp $ - * $Author: nagni $ + * $Source: /home/cvsmanager/yoda/techmodel/PscuReader.cpp,v $ + * $Id: PscuReader.cpp,v 1.1.1.1 2004/07/06 12:20:23 kusanagi Exp $ + * $Author: kusanagi $ * * Implementation of the OrbitalReader class. */ #include -#include +#include #include "ReaderAlgorithms.h" using namespace pamela; using namespace pamela::techmodel; -static log4cpp::Category& cat = log4cpp::Category::getInstance("pamela.techmodel.PscuReader"); +static LoggerPtr logger = Logger::getLogger(_T("pamela.techmodel.PscuReader")); /** * Constructor. */ PscuReader::PscuReader(void): TechmodelAlgorithm(PacketType::Pscu, "TechmodelPscuReader") { - cat.debug("Constructor"); + logger->debug(_T("Constructor")); Pscu = new PscuEvent(); } @@ -30,7 +30,7 @@ */ std::string PscuReader::GetVersionInfo(void) const { return - "$Header: /home/cvspamela/yoda/techmodel/PscuReader.cpp,v 1.6 2004/03/16 10:18:28 nagni Exp $\n"; + "$Header: /home/cvsmanager/yoda/techmodel/PscuReader.cpp,v 1.1.1.1 2004/07/06 12:20:23 kusanagi Exp $\n"; } /** @@ -40,6 +40,7 @@ void PscuReader::Init(PamelaRun *run) { SetInputStream(run); run->WriteSubPacket(this, &Pscu, Pscu->Class()); + logger->debug(_T("Initialize")); } /**