Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 1.77 KB

README.md

File metadata and controls

44 lines (31 loc) · 1.77 KB

Travis Build Status

logzio-dotnet

This repository contains the Logz.io shippers for .NET frameworks, currently including log4net and NLog.

Prerequisites: .Net Core SDK version 2.0 or above

Features

  • Async, non-blocking and non-throwing logging to Logz.io
  • Logs are uploaded in bulks of 100 messages (configurable) or a timeout of 5 seconds (configurable)
  • Up to 3 retries (configurable) 2 seconds apart (configurable) in case the upload fails, for whatever reason
  • On console applications, logs are flushed before the app exits
  • Enable debug mode to see debug messages and errors in the console output and trace log
  • Provided with sample applications and configuration examples

Build and Test Locally

This project uses .NET 8.0 and can be built and tested locally. Follow the steps below to do so:

  1. Clone the repository

    git clone https://github.com/logzio/logzio-dotnet.git
  2. Go to ./src directory

cd logzio-dotnet/src
  1. Build and run tests
dotnet restore logzio-dotnet.sln
dotnet build logzio-dotnet.sln /p:Configuration=Release
dotnet test ./UnitTests/UnitTests.csproj
dotnet test ./IntegrationTests/IntegrationTests.csproj