InstallationContext Class |
Namespace: NLog.Config
The InstallationContext type exposes the following members.
| Name | Description | |
|---|---|---|
| InstallationContext |
Initializes a new instance of the InstallationContext class.
| |
| InstallationContext(TextWriter) |
Initializes a new instance of the InstallationContext class.
|
| Name | Description | |
|---|---|---|
| IgnoreFailures |
Gets or sets a value indicating whether to ignore failures during installation.
| |
| LogLevel |
Gets or sets the installation log level.
| |
| LogOutput |
Gets or sets the log output.
| |
| Parameters |
Gets the installation parameters.
| |
| ThrowExceptions |
Whether installation exceptions should be rethrown. If IgnoreFailures is set to true,
this property has no effect (there are no exceptions to rethrow).
|
| Name | Description | |
|---|---|---|
| CreateLogEvent |
Creates the log event which can be used to render layouts during install/uninstall.
| |
| Debug |
Logs the specified debug message.
| |
| Dispose |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
| |
| Error |
Logs the specified error message.
| |
| Info |
Logs the specified informational message.
| |
| Trace |
Logs the specified trace message.
| |
| Warning |
Logs the specified warning message.
|