 |
Log Methods |
The Log type exposes the following members.
Methods | Name | Description |
---|
  | AddLogListener(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.
|
  | AddLogListener(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.
|
  | IsLogLevelEnabled |
Returns true when the specified log level is enabled.
|
 | LogAndCheckResult |
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.
|
 | LogInfoAndCheckResult |
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.
|
 | LogInfoResult |
Log with Trace level the name of the called Vulkan method and its result.
|
 | LogResult |
Log with Trace level the name of the called Vulkan method and its result.
|
 | LogResultOnError |
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.
|
  | LogSingleFrame |
LogSingleFrame method will log only the frame with the specified frameNumber and with the specified log level.
|
  | RemoveAllLogListeners |
Removes all registered log listeners that were added by AddLogListener method.
|
  | RemoveLogListener(ActionLogLevels, String) |
Removes a log action that was added by AddLogListener(ActionLogLevels, String) method.
|
  | RemoveLogListener(ActionLogLevels, String, Int64, String) |
Removes a log action that was added by AddLogListener(ActionLogLevels, String, Int64, String) method.
|
  | ResetTime | |
  | SetFrameNumber | |
  | WriteLog | |
Top
See Also