Skip to content

CloudPhoenix/logflake-client-netframework

Repository files navigation

LogFlake Client .NET Framework (for EURA Web Applications) Version

This repository contains the sources for the client-side components of the LogFlake product suite for applications logs and performance collection for .NET Framework applications.

Downloads

NuGet Package Name Version Downloads
LogFlake.Client.NetFramework NuGet Version NuGet Downloads

Usage

  1. Retrieve your application-key from Application Settings in LogFlake UI;
  2. Store the application-key in your Web.config file and name it LogFlakeAppId;
  3. In the entry-point of your application, add the following line:
StaticLogFlake.Configure(ConfigurationManager.AppSettings["LogFlakeAppId"], "https://app.logflake.io/");
  1. Use it in your service
// SimpleService.cs

public void MyMethod()
{
    try 
    {
        doSomething();
        StaticLogFlake.Instance.SendLog(LogLevels.DEBUG, "correlation", "Hello World");
    }
    catch (MeaningfulException ex)
    {
        StaticLogFlake.Instance.SendException(e);
    }
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages