/* Console::logMessage * Prints a message to the console log *******************************************************************/ void Console::logMessage(string message) { // Add a newline to the end of the message if there isn't one if (message.size() == 0 || message.Last() != '\n') message.Append("\n"); // Log the message log.push_back(message); // Announce that a new message has been logged MemChunk mc; announce("console_logmessage", mc); }