Skip to content

Commit

Permalink
Merge pull request #132 from wparad/fix-serilog-installation
Browse files Browse the repository at this point in the history
Fix serilog installation.
  • Loading branch information
thoean authored Apr 11, 2024
2 parents 700e588 + 83c036a commit 8bcf04e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ This Serilog Sink allows to log to [AWS CloudWatch](https://aws.amazon.com/cloud
## Usage
There are two important aspects for configuring this library. The first is providing the configuration options necessary via the [`ICloudWatchSinkOptions` implementation](#CloudWatchSinkOptions). And the second is [configuring the AWS Credentials](#Configuring-Credentials). Both of these are required to log to CloudWatch.

### Installation

```bash
dotnet add package Serilog.Sinks.AwsCloudWatch
```

### CloudWatchSinkOptions
This library provides an extension method which takes in only a `ICloudWatchSinkOptions` instance and the `IAmazonCloudWatchLogs` instance.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="AWSSDK.CloudWatchLogs" Version="[3.5.0.9,)" />
<!-- This has to be here to prevent breaking Serilog.Formatting.Json.JSonFormatter, see https://github.com/Cimpress-MCP/serilog-sinks-awscloudwatch/issues/131 -->
<PackageReference Include="Serilog" Version="[3.0.0,)" />
<PackageReference Include="Serilog.Sinks.PeriodicBatching" Version="[3.1.0,)" />
</ItemGroup>
</Project>

0 comments on commit 8bcf04e

Please sign in to comment.