Writes a new log entry as defined in the specified VGLogEntry object to the default repository log.
Namespace:
Novalys.VisualGuard.Security.LoggingAssembly: Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 3.2.912.1 (3.2.912.01)
Syntax
| C# |
|---|
public static void Write( VGLogEntry log ) |
| Visual Basic (Declaration) |
|---|
Public Shared Sub Write ( _ log As VGLogEntry _ ) |
Parameters
- log
- Type: Novalys.VisualGuard.Security.Logging..::.VGLogEntry
A VGLogEntry object defining the content of the message.
Exceptions
| Exception | Condition |
|---|---|
| System..::.ArgumentNullException | log is null |
| System..::.FormatException | the format specified in the title or in the message of the log cannot be formatted |