WMS_EVENT_LOG_LEVEL
Previous | Next |
WMS_EVENT_LOG_LEVEL
The WMS_EVENT_LOG_LEVEL enumeration type identifies the severity of a logged error.
Syntax
typedef enum WMS_EVENT_LOG_LEVEL{ WMS_EVENT_LOG_LEVEL_ERROR = 0x0001, WMS_EVENT_LOG_LEVEL_WARNING = 0x0002, WMS_EVENT_LOG_LEVEL_INFORMATION = 0x0004 };
Members
WMS_EVENT_LOG_LEVEL_ERROR
Indicates a significant problem that the end user must be informed of. Error events usually indicate a loss of functionality or data. For example, if a plug-in fails, it must, if possible, log an error event. The server disables any plug-in that logs an error. Furthermore, if an authentication or authorization plug-in fails, the server will no longer allow new connections or allow clients that are connected to request actions that require authorization.
WMS_EVENT_LOG_LEVEL_WARNING
Indicates problems that are not immediately significant, but that can lead to future problems. For example, a cache plug-in can log a warning event if disk space becomes low after content has been cached.
WMS_EVENT_LOG_LEVEL_INFORMATION
Indicates infrequent but significant successful operations. For example, a logging plug-in can log an information event if it creates a directory in which to save a log file. A Windows Media server administrator can then use the Windows Event Viewer to determine why a new directory was created.
Remarks
You can use this enumeration in the LogEvent method on the IWMSEventLog interface to send an event notice to the Windows Event Viewer.
Requirements
Header: wmseventlog.h.
Library: WMSServerTypeLib.dll.
Platform: Windows Server 2003 family, Windows Server 2008 family.
See Also
- Enumeration Types
- IWMSEventLog.LogEvent (C#)
- IWMSEventLog.LogEvent (Visual Basic .NET)
- IWMSEventLog::LogEvent
Previous | Next |