Adds prompt method to MessageLog.