This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Server > ESRI.ArcGIS.Server > Interfaces > IS > IServerLog Interface (ArcObjects .NET 10.4 SDK) |
Provides access to members that query and retrieve log records.
Description | ||
---|---|---|
CreateQuery | Creates an IServerLogQuery for interrogating the ArcGIS server logs. | |
GetLogRecords | Retrieves ArcGIS Server log records using an IServerLogQuery. |
CoClasses and Classes | Description |
---|---|
ServerLogImpl | The ServerLogImp1 object which methods to query and retrieve records from the ArcGIS Server logs. |
The IServerLog interface is used to query and retrieve records from the logs on disk. A reference to this interface is acquired through the ServerLog property of the IServerObjectAdmin2 interface.
The IServerLog interface has two methods. The CreateQuery method returns an IServerLogQuery interface that can be populated and used as an argument to the GetLogRecords method which returns a string containing the logs matching the query parameters.