Log Service SDK for .NET encapsulates all API operations of Log Service. You can use Log Service SDK for .NET to call API operations of Log Service in a convenient manner.

Release notes

For more information, see aliyun-log-csharp-sdk.

Sample code

Log Service SDK for .NET provides a variety of sample code for your reference and use. The following table provides links to the sample code.
GitHub source code Description
Program.cs Examples on how to write logs, query logs and log distribution, and perform batch queries
LoghubSample.cs Examples on how to query Logstores, write logs, and query logs