Class NativeLogging

java.lang.Object
dev.vortex.jni.NativeLogging

public final class NativeLogging extends Object
Utility class for configuring native logging levels in the Vortex JNI layer.

This class provides constants for different logging levels and methods to initialize native logging to the desired verbosity level. The logging levels correspond to standard logging frameworks with ERROR being the least verbose and TRACE being the most verbose.

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Logging level constant for debug, informational, warning, and error messages
    static final int
    Logging level constant for error messages only
    static final int
    Logging level constant for informational, warning, and error messages
    static final int
    Logging level constant for all messages including trace-level debugging
    static final int
    Logging level constant for warning and error messages
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    initLogging(int level)
    Initialize logging to the desired level.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • ERROR

      public static final int ERROR
      Logging level constant for error messages only
      See Also:
    • WARN

      public static final int WARN
      Logging level constant for warning and error messages
      See Also:
    • INFO

      public static final int INFO
      Logging level constant for informational, warning, and error messages
      See Also:
    • DEBUG

      public static final int DEBUG
      Logging level constant for debug, informational, warning, and error messages
      See Also:
    • TRACE

      public static final int TRACE
      Logging level constant for all messages including trace-level debugging
      See Also:
  • Method Details

    • initLogging

      public static void initLogging(int level)
      Initialize logging to the desired level. Must be one of: