1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-04-01 06:50:25 +03:00

feature #1223: Removed unneeded log functions

This commit is contained in:
Ruben S. Montero 2012-06-15 13:14:49 +02:00
parent 6e44c6ebf3
commit 582b8736e9
2 changed files with 1 additions and 24 deletions

View File

@ -79,15 +79,7 @@ public:
const char * module,
const MessageType type,
const char * message);
virtual void log(
const char * module,
const Log::MessageType type,
const string& message)
{
log(module,type,message.c_str());
};
private:
char * log_file;
};

View File

@ -118,21 +118,6 @@ public:
}
};
/**
* writes a log message in vm.log. The class lock should be locked and
* the VM MUST BE obtained through the VirtualMachinePool get() method.
*/
void log(
const char * module,
const Log::MessageType type,
const string& message) const
{
if (_log != 0)
{
_log->log(module,type,message);
}
};
/**
* Function to print the VirtualMachine object into a string in
* XML format