Class APPLEContextLoggingFunctions

java.lang.Object
org.lwjgl.opencl.APPLEContextLoggingFunctions

public class APPLEContextLoggingFunctions extends Object
Native bindings to the APPLE_ContextLoggingFunctions extension.

Provides convenience functions that are intended to be used as the pfn_notify parameter to CreateContext.

Note that if you pass NULL to the CreateContext pfn_notify parameter, you can also use these by setting the CL_LOG_ERRORS environment variable to one of stdout, stderr, or console. Pass your own do-nothing context logging function to disable the CL_LOG_ERRORS override.

  • Field Details

    • clLogMessagesToSystemLogAPPLE

      public static final long clLogMessagesToSystemLogAPPLE
      Forwards on all log messages to the Apple System Logger.
    • clLogMessagesToStdoutAPPLE

      public static final long clLogMessagesToStdoutAPPLE
      Forwards on all log messages to the standard output stream.
    • clLogMessagesToStderrAPPLE

      public static final long clLogMessagesToStderrAPPLE
      Forwards on all log messages to the standard error stream.