Skip to content
Snippets Groups Projects
HelloWorldAlgorithm.cpp 527 B
Newer Older
#include "MantidAPI/AlgorithmFactory.h"
DECLARE_ALGORITHM(HelloWorldAlgorithm);
Roman Tolchenov's avatar
Roman Tolchenov committed
// Get a reference to the logger. It is used to print out information,
// warning, and error messages
Mantid::Kernel::Logger& HelloWorldAlgorithm::g_log = Mantid::Kernel::Logger::get("HelloWorldAlgorithm");

/**  
*/
void HelloWorldAlgorithm::init()
{
}

/**  
*/
void HelloWorldAlgorithm::exec() 
{ 
    g_log.information() << "\nHello, World!\n"; 
}