Click or drag to resize
Ab4d.SharpEngine logo

Log Methods

The Log type exposes the following members.

Methods
 NameDescription
Public methodStatic memberAddLogListener(ActionLogLevels, String) Adds an Action that takes LogLevels and a log message (as string) as parameters and is called on each written log message with level bigger then LogLevel.
Public methodStatic memberAddLogListener(ActionLogLevels, String, Int64, String) Adds an Action that takes LogLevels, LogArea (nullable string) and ObjectId (long) and a log message (string) as parameters and is called on each written log message with level bigger then LogLevel.
Public methodStatic memberIsLogLevelEnabled Returns true when the specified log level is enabled.
Public Extension MethodLogAndCheckResult Log with Trace level the name of the called Vulkan method and its result and in case when result is not Success throws a new VulkanException with result code and method name.
Public Extension MethodLogInfoAndCheckResult Log with Info level the name of the called Vulkan method and its result and in case when result is not Success throws a new VulkanException with result code and method name.
Public Extension MethodLogInfoResult Log with Trace level the name of the called Vulkan method and its result.
Public Extension MethodLogResult Log with Trace level the name of the called Vulkan method and its result.
Public Extension MethodLogResultOnError When result is not Success then logs with Trace level the method name and its result and in case when result is not Success throws a new VulkanException with result code and method name.
Public methodStatic memberLogSingleFrame LogSingleFrame method will log only the frame with the specified frameNumber and with the specified log level.
Public methodStatic memberRemoveAllLogListeners Removes all registered log listeners that were added by AddLogListener method.
Public methodStatic memberRemoveLogListener(ActionLogLevels, String) Removes a log action that was added by AddLogListener(ActionLogLevels, String) method.
Public methodStatic memberRemoveLogListener(ActionLogLevels, String, Int64, String) Removes a log action that was added by AddLogListener(ActionLogLevels, String, Int64, String) method.
Public methodStatic memberResetTime 
Public methodStatic memberSetFrameNumber 
Public methodStatic memberWriteLog 
Top
See Also