Click or drag to resize

HpsvLogger Class

Allows logging from Scripted Rule. The same class can be used for logging to the Service Virtualization log file via Logger or to the Designer Problem List via MessageLogger There are methods for each log level. Based on Service Virtualization configuration the message is either logged or ignored.
Inheritance Hierarchy
SystemObject
  HP.SV.DotNetRuleApiHpsvLogger

Namespace:  HP.SV.DotNetRuleApi
Assembly:  HP.SV.DotNetRuleApi (in HP.SV.DotNetRuleApi.dll) Version: 5.00
Syntax
C#
public sealed class HpsvLogger

The HpsvLogger type exposes the following members.

Methods
  NameDescription
Public methodDebug
Logs the message with DEBUG level
Public methodError
Logs the message with ERROR level
Public methodInfo
Logs the message with INFO level
Public methodWarn
Logs the message with WARN level
Top
See Also