The Logs API enables collecting logs that are logged to the ILogger<> infrastructure within a specified process.
Important
The LoggingEventSource
provider must be enabled in the process in order to capture logs.
Note
Process information (IDs, names, environment, etc) may change between invocations of these APIs. Processes may start or stop between API invocations, causing this information to change.
Operation | Description |
---|---|
Get Logs | Captures log statements from a process at a specified level or at the application-defined categories and levels. |
Get Custom Logs | Captures log statements from a process using the settings specified in the request body. |