#include "FWCore/MessageService/test/MLexampleModule_1.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "FWCore/Framework/interface/MakerMacros.h"

#include <iostream>
#include <string>

namespace edmtest {

  void MLexampleModule_1::analyze(edm::StreamID,
                                  edm::Event const& /*unused*/
                                  ,
                                  edm::EventSetup const& /*unused*/
  ) const {
    std::string empty_;
    std::string file_ = "nameOfFile";
    LogDebug("cat_A") << "LogDebug was used to send this message";
    LogDebug("cat_B") << "LogDebug was used to send this other message";
    edm::LogError("cat_B") << "LogError was used to send this other message";
    edm::LogWarning("cat_A") << "LogWarning was used to send this message";
    edm::LogWarning("cat_B") << "LogWarning was used to send this other message";
    edm::LogInfo("cat_A") << "LogInfo was used to send this message";
    edm::LogInfo("cat_B") << "LogInfo was used to send this other message";
    edm::LogInfo("FwkTest") << "<Message>LogInfo was used to send a job report</Message>";

  }  // MessageLoggerClient::analyze()

}  // namespace edmtest

using edmtest::MLexampleModule_1;
DEFINE_FWK_MODULE(MLexampleModule_1);
