LogFlake Client .NET Framework
License
—
Deps
4
Install Size
—
Vulns
✓ 0
Published
Jul 11, 2024
$ dotnet add package LogFlake.Client.NetFrameworkThis repository contains the sources for the client-side components of the LogFlake product suite for applications logs and performance collection for .NET Framework applications.
| NuGet Package Name | Version | Downloads |
|---|---|---|
| LogFlake.Client.NetFramework |
Web.config file and name it LogFlakeAppId;StaticLogFlake.Configure(ConfigurationManager.AppSettings["LogFlakeAppId"], "https://app.logflake.io/");
// SimpleService.cs
public void MyMethod()
{
try
{
doSomething();
StaticLogFlake.Instance.SendLog(LogLevels.DEBUG, "correlation", "Hello World");
}
catch (MeaningfulException ex)
{
StaticLogFlake.Instance.SendException(e);
}
}