Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RedBear.LogDNA

.NET Standard 2.0 client for the LogDNA service.

Install-Package RedBear.LogDNA

Allows log data to be sent to LogDNA using managed code.

private const int FlushTimeout = 30000;
private const string IngestionKey = "PUT-KEY-HERE";

[Fact]
public void DefaultLogsOk()
{
  var config = new ConfigurationManager(IngestionKey) {Tags = new[] {"foo", "bar"}};
  var client = config.Initialise();

  client.Connect();

  client.AddLine(new LogLine("MyLog", "From Default Client"));

  Thread.Sleep(FlushTimeout);
  client.Disconnect();
}

About

.NET Client for the LogDNA sevice

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages