Assembly: Microsoft.ServiceHosting.ServiceRuntime (in microsoft.servicehosting.serviceruntime.dll)
The type of event to be written to the log. Permitted string values are Critical, Error, Warning, Information, Verbose.
The message to write to the log.
Log entries marked with the Critical designation are also raised as alerts to the service via the alerting interface. Because these alerts must be reviewed by an operator, Critical messages should be used only for urgent notifications.
All other types of messages are written only to the logging store.
For easier troubleshooting, always log messages verbosely.