Skip to content

Commit

Permalink
Merge branch 'master' into license/copyright-to-2024
Browse files Browse the repository at this point in the history
  • Loading branch information
FantasticFiasco authored Mar 29, 2024
2 parents 58ca1f8 + 594e4cf commit c4ddc8a
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 25 deletions.
3 changes: 2 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ root = true

[*]
indent_style = space
insert_final_newline = true

[*.cs]
indent_size = 4
Expand Down Expand Up @@ -61,4 +62,4 @@ indent_size = 4
indent_size = 2

[*.{yaml,yml}]
indent_size = 2
indent_size = 2
13 changes: 13 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: CI

on:
push:
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v3
- run: docker-compose build
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Serilog.Sinks.Http - Sample in .NET Core

[![Build status](https://ci.appveyor.com/api/projects/status/n6xpr0vxexlb1oro/branch/master?svg=true)](https://ci.appveyor.com/project/FantasticFiasco/serilog-sinks-http-sample-dotnet-core/branch/master)
[![CI](https://github.com/FantasticFiasco/serilog-sinks-http-sample-dotnet-core/actions/workflows/ci.yml/badge.svg)](https://github.com/FantasticFiasco/serilog-sinks-http-sample-dotnet-core/actions/workflows/ci.yml)

This repository contains a sample application of [Serilog.Sinks.Http](https://github.com/FantasticFiasco/serilog-sinks-http) producing log events sent over HTTP to a basic log server.

Expand All @@ -15,4 +15,4 @@ What you will end up with is two containers, one producing log events while the
## Remarks

- The sample application is using a custom implementation of a HTTP client, mainly to show that it is possible to do so. But don't specify a custom implementation if you don't have to.
- The sink is configured in code, but could as well be configured in `appsettings.json` using [Serilog.Settings.Configuration](https://github.com/serilog/serilog-settings-configuration).
- The sink is configured in code, but could as well be configured in `appsettings.json` using [Serilog.Settings.Configuration](https://github.com/serilog/serilog-settings-configuration).
12 changes: 0 additions & 12 deletions appveyor.yml

This file was deleted.

9 changes: 0 additions & 9 deletions build/build.sh

This file was deleted.

2 changes: 1 addition & 1 deletion sample/sample.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Bogus" Version="34.0.2" />
<PackageReference Include="Bogus" Version="35.5.0" />
<PackageReference Include="Microsoft.Extensions.Configuration" Version="8.0.0" />
<PackageReference Include="Serilog.Sinks.Console" Version="5.0.1" />
<PackageReference Include="Serilog.Sinks.Http" Version="8.0.0" />
Expand Down

0 comments on commit c4ddc8a

Please sign in to comment.