User Tools

Site Tools


ilogger

ILogger

This interface provides the logging abstraction used throughout the application. Its implementation is supplied by the consuming framework and is responsible for forwarding log output and debug drawing requests to that framework's native logging and visualization systems.

This allows the framework-independent codebase to perform logging and debug visualization without depending directly on a specific engine or runtime implementation.

Methods

Method void SetLogger(bool enabled)
Description Enables or disables logging through the logger implementation.
Method void DrawLine(Vector3 start, Vector3 end, string color, float duration = 0.0f, bool depthTest = true)
Description Draws a debug line from specified start position to specified end position using the supplied color. The duration controls how long the line remains visible, while depthTest determines whether the line is obscured by geometry according to the implementing framework's depth testing behavior.
Method void DrawRay(Vector3 start, Vector3 dir, string color, float duration = 0.0f, bool depthTest = true)
Description Draws a debug ray beginning at specified start position and extending in specified direction using the supplied color. The duration controls how long the ray remains visible, while depthTest determines whether the ray is obscured by geometry according to the implementing framework's depth testing behavior.
Method void Log(object message)
Description Logs specified message using the consuming framework's standard logging output.
Method void LogError(object message)
Description Logs specified message as an error using the consuming framework's error logging output.
ilogger.txt · Last modified: by diviner

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki