Package org.lwjgl.opencl
Class APPLEContextLoggingFunctions
java.lang.Object
org.lwjgl.opencl.APPLEContextLoggingFunctions
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 Summary
Modifier and TypeFieldDescriptionstatic final long
Forwards on all log messages to the standard error stream.static final long
Forwards on all log messages to the standard output stream.static final long
Forwards on all log messages to the Apple System Logger. -
Method Summary
-
Field Details
-
clLogMessagesToSystemLogAPPLE
public static final long clLogMessagesToSystemLogAPPLEForwards on all log messages to the Apple System Logger. -
clLogMessagesToStdoutAPPLE
public static final long clLogMessagesToStdoutAPPLEForwards on all log messages to the standard output stream. -
clLogMessagesToStderrAPPLE
public static final long clLogMessagesToStderrAPPLEForwards on all log messages to the standard error stream.
-