function logWarning(filename, position, message, extra) {
  logMessage('WARNING', filename, position, message, extra);
}
Logs a WARNING message to the console

@param {string} filename The file the issue occurred in
@param {Object} position The line/column the error occurred on
@param {string} message The message to be displayed
@param {Object} extra Any extra information to show