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:
parent
6e44c6ebf3
commit
582b8736e9
@ -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;
|
||||
};
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user