RLS Studios
ProjectsPatreonCommunityDocsAbout
Join Patreon
BeamNG Modding Docs

Guides

Reference

Server CommandsGE UtilitiesGame Engine MainNavigation GraphScreenshot CaptureServerServer ConnectionSpawnpoint ManagerSimulation TimeVehicle SpawningSuspension Frequency Tester
Flowgraph Base ModuleFlowgraph Base NodeFlowgraph Base State NodeFlowgraph Node BuilderFlowgraph GraphFlowgraph Group HelperFlowgraph LinkFlowgraph ManagerNew Node TemplateFlowgraph PinFlowgraph States ManagerFlowgraph UtilsFlowgraph Variable Storage
AI Debug DisplayCamera Mouse RaycastCommentDebug CylinderDebug LineDebug PrismDebug SphereDebug TextDisplay ValueDisplay FlowMulti GraphFlow ButtonLogMini GraphMulti FlowNumber SliderPause ExecutionRestart ProjectStop ProjectCategory Test (Test Dynamic)

UI

Resources

BeamNG Game Engine Lua Cheat SheetGE Developer RecipesMCP Server Setup

// RLS.STUDIOS=true

Premium Mods for BeamNG.drive. Career systems, custom vehicles, and immersive gameplay experiences.

Index

HomeProjectsPatreon

Socials

DiscordPatreon (RLS)Patreon (Vehicles)

© 2026 RLS Studios. All rights reserved.

Modding since 2024

API ReferenceGE Extensionsflowgraphnodesdebug

Log

- **File:** `extensions/flowgraph/nodes/debug/log.lua`

Overview

  • File: extensions/flowgraph/nodes/debug/log.lua
  • Name: Log
  • Category: dynamic_instant
  • Description: Logs the input value to the console. LogType can be I (Info), D (Debug), W (Warning), or E (Error).

Pin Schema

Input Pins

NameTypeDescription
valueanyValue that should be logged. Default: "". Hardcoded, default type string.
logTagstringTag to identify the log entry. Default: "Node #" + node id.
logTypestringLog level: I (Info), D (Debug), W (Warning), or E (Error). Default: "I". Hardcoded.

Output Pins

None.

Behavior

  • workOnce(): Creates a log entry immediately on first trigger.
  • work(): If dynamicMode == 'repeat', creates a log entry every frame.
  • createLogEntry(): Converts the value to string (uses dumps() for tables), calls log() with the configured log type and tag, and fires a manager log event.

Node Display

  • Shows the current logType and logTag in the middle of the node: ('I','Node #5',...).

Notes

  • logTag and logType pins are hidden by default in the editor.
  • logType provides a dropdown with Info, Debug, Warning, and Error options.
  • Uses dumps() for table serialization in log output.

Tags

#flowgraph #node #ge #debug #log


Additional Exports

postInit()

drawMiddle(builder, style)

  • builder - any

  • style - any

  • name - string - (see source)

  • description - string - (see source)

  • color - any - (see source)

  • icon - any - (see source)

  • category - string - (see source)

  • pinSchema - table - (see source)

  • tags - table - (see source)


See Also

  • AI Debug Display - Related reference
  • Camera Mouse Raycast - Related reference
  • Comment - Related reference
  • FlowGraph Guide - Guide

Flow Button

- **Name:** `Flow Button`

Mini Graph

- **File:** `extensions/flowgraph/nodes/debug/miniGraph.lua`

On this page

OverviewPin SchemaInput PinsOutput PinsBehaviorNode DisplayNotesTagsAdditional ExportspostInit()drawMiddle(builder, style)See Also