Commit 86b25d98 authored by Steven Murray's avatar Steven Murray
Browse files

Added a constructor to the DummyLogger class so that it can be instantiated.

parent d4941261
......@@ -24,6 +24,14 @@
#include "castor/log/DummyLogger.hpp"
//------------------------------------------------------------------------------
// constructor
//------------------------------------------------------------------------------
castor::log::DummyLogger::DummyLogger(const std::string &programName)
throw(castor::exception::Internal, castor::exception::InvalidArgument):
Logger(programName) {
}
//------------------------------------------------------------------------------
// destructor
//------------------------------------------------------------------------------
......
......@@ -48,6 +48,15 @@ namespace log {
class DummyLogger: public Logger {
public:
/**
* Constructor
*
* @param programName The name of the program to be prepended to every log
* message.
*/
DummyLogger(const std::string &programName)
throw(castor::exception::Internal, castor::exception::InvalidArgument);
/**
* Destructor.
*/
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment