Interface VulkanDebugUtilsLoggerRouterType
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A function that selects the
Logger to which a debug utils message
should be logged, based on the message's properties.
Implementations must be thread-safe, since the function may be invoked from
any thread that makes a Vulkan call. Implementations must not make calls to
any Vulkan commands (see the valid usage statements for
PFN_vkDebugUtilsMessengerCallbackEXT).
-
Method Summary
Modifier and TypeMethodDescriptionorg.slf4j.LoggerloggerFor(Set<VulkanDebugUtilsMessageSeverityFlag> severity, Set<VulkanDebugUtilsMessageTypeFlag> types, VulkanDebugUtilsMessengerCallbackDataEXT data) Select the logger for a message.
-
Method Details
-
loggerFor
org.slf4j.Logger loggerFor(Set<VulkanDebugUtilsMessageSeverityFlag> severity, Set<VulkanDebugUtilsMessageTypeFlag> types, VulkanDebugUtilsMessengerCallbackDataEXT data) Select the logger for a message.- Parameters:
severity- The message severitytypes- The message typesdata- The message data- Returns:
- The logger (never
null)
-