Click or drag to resize

VGLoggerWrite Method (VGSecurityRuntime, VGLogEntry)

Writes a new log entry as defined in the VGLogEntry object to the log stored in the repository represented by the specified VGSecurityRuntime object.

Namespace:  Novalys.VisualGuard.Security.Logging
Assembly:  Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 2019.1.831.19 (2019.1.0831.19)
Syntax
public static void Write(
	VGSecurityRuntime runtime,
	VGLogEntry log
)

Parameters

runtime
Type: Novalys.VisualGuard.SecurityVGSecurityRuntime
a VGSecurityRuntime object representing the repository in which the log will be stored.
log
Type: Novalys.VisualGuard.Security.LoggingVGLogEntry
A VGLogEntry object defining the content of the message.
Exceptions
ExceptionCondition
ArgumentNullExceptionruntime or log is null
FormatExceptionthe format specified in the title or in the message of the log cannot be formatted
See Also