Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix serilog installation. #132

Merged
merged 1 commit into from
Apr 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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>
Loading