RendererLogger

Utility class for logging renderer-related debug output.

Use setEnabled to toggle logging globally. This class avoids the need for scattered conditionals in the codebase.

Functions

Link copied to clipboard
open fun d(tag: String, message: String)
Logs a debug message if logging is enabled.
Link copied to clipboard
open fun e(tag: String, message: String)
Logs an error message if logging is enabled.
Link copied to clipboard
open fun i(tag: String, message: String)
Logs an info message if logging is enabled.
Link copied to clipboard
open fun setEnabled(value: Boolean)
Enables or disables logging.
Link copied to clipboard
open fun w(tag: String, message: String)
Logs a warning message if logging is enabled.