Package 

Class RendererLogger


  • 
    public final class 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.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static boolean enabled
    • Method Summary

      Modifier and Type Method Description
      static void setEnabled(boolean value) Enables or disables logging.
      static void d(String tag, String message) Logs a debug message if logging is enabled.
      static void i(String tag, String message) Logs an info message if logging is enabled.
      static void w(String tag, String message) Logs a warning message if logging is enabled.
      static void e(String tag, String message) Logs an error message if logging is enabled.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • setEnabled

         static void setEnabled(boolean value)

        Enables or disables logging.

        Parameters:
        value - {@code true} to enable logging; {@code false} to disable it.
      • d

         static void d(String tag, String message)

        Logs a debug message if logging is enabled.

        Parameters:
        tag - Tag for the log message.
        message - The debug message to log.
      • i

         static void i(String tag, String message)

        Logs an info message if logging is enabled.

        Parameters:
        tag - Tag for the log message.
        message - The info message to log.
      • w

         static void w(String tag, String message)

        Logs a warning message if logging is enabled.

        Parameters:
        tag - Tag for the log message.
        message - The warning message to log.
      • e

         static void e(String tag, String message)

        Logs an error message if logging is enabled.

        Parameters:
        tag - Tag for the log message.
        message - The error message to log.