Skip to content

Commit

Permalink
Remove unnecessary static loggers.
Browse files Browse the repository at this point in the history
Just use the base-algorithm class logger.
Refs #8960
  • Loading branch information
martyngigg committed Mar 21, 2014
1 parent d450183 commit 1514cfe
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 15 deletions.
Expand Up @@ -76,8 +76,6 @@ namespace Mantid
void outputval (double val, std::ofstream & file, bool leadingSep = true);
/// write the top of the file
virtual std::vector<double> header(std::ofstream & file);
///static reference to the logger class
static Kernel::Logger& g_log;
protected:
/// Return the separator character
virtual char sep() {return '\t';}
Expand Down
Expand Up @@ -60,8 +60,6 @@ namespace Mantid
virtual void extraProps() {}
/// no extra information required so override blank
virtual void extraHeaders(std::ofstream & file);
///static reference to the logger class
static Kernel::Logger& g_log;
};

} // namespace DataHandling
Expand Down
Expand Up @@ -55,8 +55,6 @@ namespace Mantid
virtual void initDocs();
/// Return the file extension this algorthm should output.
virtual std::string ext() {return ".mft";}
///static reference to the logger class
static Kernel::Logger& g_log;
///extra properties specifically for this
virtual void extraProps();
/// write any extra information required
Expand Down
3 changes: 0 additions & 3 deletions Code/Mantid/Framework/DataHandling/src/AsciiPointBase.cpp
Expand Up @@ -18,9 +18,6 @@ namespace Mantid
using namespace Kernel;
using namespace API;

// Initialise the logger
Logger& AsciiPointBase::g_log = Logger::get("AsciiPointBase");

/// Initialisation method.
void AsciiPointBase::init()
{
Expand Down
3 changes: 0 additions & 3 deletions Code/Mantid/Framework/DataHandling/src/SaveANSTOAscii.cpp
Expand Up @@ -18,9 +18,6 @@ namespace Mantid
using namespace Kernel;
using namespace API;

// Initialise the logger
Logger& SaveANSTOAscii::g_log = Logger::get("SaveANSTOAscii");

/// Sets documentation strings for this algorithm
void SaveANSTOAscii::initDocs()
{
Expand Down
3 changes: 0 additions & 3 deletions Code/Mantid/Framework/DataHandling/src/SaveILLCosmosAscii.cpp
Expand Up @@ -20,9 +20,6 @@ namespace Mantid
using namespace Kernel;
using namespace API;

// Initialise the logger
Logger& SaveILLCosmosAscii::g_log = Logger::get("SaveILLCosmosAscii");

/// Sets documentation strings for this algorithm
void SaveILLCosmosAscii::initDocs()
{
Expand Down

0 comments on commit 1514cfe

Please sign in to comment.