GE Lua Documentation

Press F to search!

logDebug

Definition


-- @/lua/ge/extensions/editor/main.lua:54

local function editorLogDebug(msg)
  log("D", "editor", msg)
end

Callers

@/lua/ge/extensions/editor/main.lua
  -- init extensions
  editor.logDebug("Initializing editor extensions...")
  extensions.hook("onEditorRegisterApi")
  if not editor.initialized then return end
  editor.logDebug("Saving editor state...")
  local state = {}
local function loadState(filePath)
  editor.logDebug("Loading editor state...")
  local state = jsonReadFile(filePath or editorCurrentStatePath) or {}
@/lua/ge/extensions/editor/api/object.lua
      table.insert(newSelection, obj:getId())
      editor.logDebug("Selected by type: ".. objName .. " id: " .. tostring(obj:getId()))
    end
    if not obj then
      editor.logDebug("Cannot find ".. objName)
    end
local function debugObjectSelection()
  editor.logDebug("Selection:")
  for i = 1, tableSize(editor.selection.object) do
    if object then
      editor.logDebug("Name: "..object.name.." ID: "..object:getID())
    end
@/lua/ge/extensions/editor/flowgraph/nodelibrary.lua
  writeFile('nodeLib.csv', table.concat(libtxt, '\n'))
  editor.logDebug("Written Nodelib to nodeLib.csv")
  writeFile('pinLib.csv', table.concat(libtxt, '\n'))
  editor.logDebug("Written pinlist to pinLib.csv")
end
@/lua/ge/extensions/editor/api/objectHistoryActions.lua
    if not missionGroup then
      editor.logDebug("MissionGroup does not exist")
      return
  end
  editor.logDebug("Spawned object with ID: " .. obj:getId())
  actionData.objectId = obj:getId()
@/lua/ge/extensions/editor/assetBrowser.lua
  else
    editor.logDebug("MissionGroup does not exist. Not able to add instantiated object to MissionGroup. Deleting object.")
    newObj:delete()
        else
          editor.logDebug("MissionGroup does not exist")
        end
        else
          editor.logDebug(logTag .. "Cannot create folder, folder already exists.")
          var.newFolderMessages['folderExists'] = {
@/lua/ge/extensions/editor/objectTool.lua
    if obj then
      --editor.logDebug("Copy id " .. tostring(obj:getId()));
      local memento = editor.saveSimObjectMemento(obj)
@/lua/ge/extensions/editor/terrainEditor.lua
      else
        editor.logDebug("MissionGroup does not exist")
      end