LogHive 1.1.3
dotnet add package LogHive --version 1.1.3
NuGet\Install-Package LogHive -Version 1.1.3
<PackageReference Include="LogHive" Version="1.1.3" />
paket add LogHive --version 1.1.3
#r "nuget: LogHive, 1.1.3"
// Install LogHive as a Cake Addin #addin nuget:?package=LogHive&version=1.1.3 // Install LogHive as a Cake Tool #tool nuget:?package=LogHive&version=1.1.3
LogHive.SDK.CSharp
This c# libary is a SDK for the LogHive event and log service. LogHive is a log and event service specifically designed for software applications such as apps, websites, or services. With LogHive, push notifications can be sent to the web browser or to a mobile device, or the log messages can be analyzed in a separate dashboard.
Licence: MIT
Compatibility
Contents
General
Integration is very easy, a simple REST command is all that's needed to store your event in our database. This libary packs the http client into a nuget package. So you can push an event with just two lines of code.
Requirements
To use this API you need an API key. You can register for a free API key at https://app.loghive.app.
Documentation
A full documentation is available under https://docs.loghive.app/.
Usage
With the following code, you init the http client with your personal API key:
var logger = new LogHiveApi("your-api-key");
Push an Event
var notification = false;
var response = await logger.AddEventAsync("yourprojectname", "yourgroupname", "your-event-name", "descripton", notification);
Set a Insight
var response = await logger.AddInsightAsync("yourprojectname", "insightname", 10);
Set Online State
var response = await logger.SetSystemOnlineAsync("yourprojectname", "systemname");
var response = await logger.SetSystemOfflineAsync("yourprojectname", "systemname");
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- Newtonsoft.Json (>= 13.0.1)
- System.Net.Http.Json (>= 7.0.0)
-
net6.0
- Newtonsoft.Json (>= 13.0.1)
- System.Net.Http.Json (>= 7.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on LogHive:
Package | Downloads |
---|---|
Serilog.Sinks.LogHive
This C# library is a sink for the Serilog Logging Framework. With this extension, all log events that occur are automatically transmitted to the event and log service LogHive. LogHive is a log and events service specially designed for software applications such as apps, websites or services. With LogHive, push notifications can be sent to the web browser or to a mobile device, or the log messages can be analyzed in a separate dashboard. |
GitHub repositories
This package is not used by any popular GitHub repositories.