function handleLogEvent(evt, level, timestamp, message) {
        // For some reason, stringifying and then parsing a Date through JSON turns
        // it into a string.
        var timestampAsDate = new Date(timestamp);

        _nodeLog.push({
            level: level,
            timestamp: timestampAsDate,
            message: message
        });

        var formattedMessage = "[node-" + level + " " + timestampAsDate.toLocaleTimeString() +  "] " + message;

        switch (level) {
        case "info":
        case "warn":
        case "error":
            console[level](formattedMessage);
            break;
        default:
            console.log(formattedMessage);
        }

    }
@private
Handler for log events from Node. Stores the messages in an internal array
for possible inspection in the developer tools. Also forwards messages to
the developer tools console.
@param {jQuery.Event} evt The event object from jQuery (not used)
@param {string} level The level of the log message. Can be anything, but
  should be something like "log", "info", "warn", or "error"
@param {string} timestamp Time the event occurred in node, as a string
@param {string} message The log message