Package org.lwjgl.opencl
Class APPLEContextLoggingFunctions
- java.lang.Object
-
- org.lwjgl.opencl.APPLEContextLoggingFunctions
-
public class APPLEContextLoggingFunctions extends java.lang.Object
Native bindings to the APPLE_ContextLoggingFunctions extension.Provides convenience functions that are intended to be used as the
pfn_notify
parameter toCreateContext
.Note that if you pass
NULL
to theCreateContext
pfn_notify
parameter, you can also use these by setting theCL_LOG_ERRORS
environment variable to one of stdout, stderr, or console. Pass your own do-nothing context logging function to disable theCL_LOG_ERRORS
override.
-
-
Field Summary
Fields Modifier and Type Field Description static long
clLogMessagesToStderrAPPLE
Forwards on all log messages to the standard error stream.static long
clLogMessagesToStdoutAPPLE
Forwards on all log messages to the standard output stream.static long
clLogMessagesToSystemLogAPPLE
Forwards on all log messages to the Apple System Logger.
-
-
-
Field Detail
-
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.
-
-