Vostok.Logging.Hercules 0.1.12-pre000025

Prefix Reserved
This is a prerelease version of Vostok.Logging.Hercules.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Vostok.Logging.Hercules --version 0.1.12-pre000025
                    
NuGet\Install-Package Vostok.Logging.Hercules -Version 0.1.12-pre000025
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Vostok.Logging.Hercules" Version="0.1.12-pre000025" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Vostok.Logging.Hercules" Version="0.1.12-pre000025" />
                    
Directory.Packages.props
<PackageReference Include="Vostok.Logging.Hercules" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Vostok.Logging.Hercules --version 0.1.12-pre000025
                    
#r "nuget: Vostok.Logging.Hercules, 0.1.12-pre000025"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Vostok.Logging.Hercules@0.1.12-pre000025
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Vostok.Logging.Hercules&version=0.1.12-pre000025&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Vostok.Logging.Hercules&version=0.1.12-pre000025&prerelease
                    
Install as a Cake Tool

Vostok.Logging.Hercules

Build & Test & Publish NuGet

An implementation of Vostok ILog that send events to Hercules. Also provides mapping from Hercules events back to Log Events.

Build guide: https://github.com/vostok/devtools/blob/master/library-dev-conventions/how-to-build-a-library.md

User documentation: https://vostok.gitbook.io/logging/


Here's how LogEvent instances are mapped into Hercules events (according to schema):

  • Timestamp (mandatory) corresponds to:

    • Hercules event built-in timestamp — UtcDateTime of Timestamp.
    • utcOffset tag — a long tag with offset from UTC expressed in 100-ns ticks.
  • Level ---> level tag of string type.

  • MessageTemplate ---> messageTemplate tag of string type.

  • RenderedMessage ---> message tag containing rendered text.

  • Properties dictionary corresponds to a container with name properties. This container contains a tag for each pair. Keys are translated as-is, and the values are handled according to following conventions:

    • If the value is a primitive scalar or a vector of primitive scalars natively supported by Hercules (such as int, long, guid, string, etc), it's mapped as-is.
    • Otherwise the value gets converted to string: either stringified directly (if it properly overrides ToString()) or serialized to JSON. No further container-like structure is allowed, all values end up being 'flat'.
  • Exception object corresponds to a container with name exception and following tags:

    • Exception runtime type (e.g. System.NullReferenceException) ---> type tag of type string.
    • Exception message ---> message tag of type string.
    • Nested exceptions (e.g. InnerException and InnerExceptions for AggregateException) ---> innerExceptions tag of type Vector which contains other exceptions in the same format.
    • Stacktrace of exception ---> stackFrames tag of type Vector<StackFrame>. StackFrame is a container of following tags which describe a point of code which executed when the exception occured:
      • function - a name of function (method).
      • type - a type when function is declared.
      • file - file name.
      • line - line number.
      • column - column number.
Product 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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Vostok.Logging.Hercules:

Package Downloads
Vostok.Hosting

The entry point to create and launch Vostok-compatible services.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.14 8,562 12/13/2024
0.1.13 10,206 10/25/2024
0.1.12 30,240 10/31/2022
0.1.12-pre000033 208 10/31/2022
0.1.12-pre000027 1,325 9/14/2022
0.1.12-pre000026 867 7/28/2022
0.1.12-pre000025 516 6/23/2022
0.1.12-pre000022 289 3/2/2022
0.1.11 28,098 3/2/2022
0.1.11-pre000015 268 12/20/2021
0.1.11-pre000014 538 12/8/2021
0.1.10 26,884 12/8/2021
0.1.10-pre000012 282 12/6/2021
0.1.9 651 12/6/2021
0.1.9-pre000077 866 9/10/2021
0.1.9-pre000010 276 12/4/2021
0.1.9-pre000009 262 12/3/2021
0.1.9-pre000008 290 12/3/2021
0.1.9-pre000007 270 11/27/2021
0.1.9-pre000006 277 11/27/2021
0.1.9-pre000005 1,636 11/26/2021
0.1.9-pre000004 6,271 11/24/2021
0.1.9-pre000003 5,164 11/23/2021
0.1.8 19,314 9/10/2021
0.1.8-pre000075 987 3/16/2021
0.1.7 55,761 3/16/2021
0.1.7-pre000073 638 2/9/2021
0.1.6 6,731 2/9/2021
0.1.6-pre000071 494 1/22/2021
0.1.5 1,819 1/22/2021
0.1.4 91,538 9/29/2020
0.1.4-pre000062 1,890 5/15/2020
0.1.3 65,221 5/15/2020
0.1.3-pre000060 449 5/15/2020
0.1.3-pre000059 1,339 12/7/2019
0.1.2 131,813 12/2/2019
0.1.2-pre000055 480 10/18/2019
0.1.1 928 10/18/2019
0.1.1-pre000053 519 9/11/2019
0.1.1-pre000052 4,811 3/22/2019
0.1.0 1,532 3/22/2019
0.1.0-pre000050 548 3/22/2019
0.0.1-pre000045 586 2/28/2019
0.0.1-pre000044 818 2/13/2019
0.0.1-pre000043 584 2/11/2019
0.0.1-pre000042 665 2/6/2019
0.0.1-pre000041 616 1/29/2019
0.0.1-pre000040 622 1/24/2019
0.0.1-pre000038 708 1/18/2019
0.0.1-pre000036 662 1/18/2019
0.0.1-pre000034 670 1/16/2019
0.0.1-pre000033 656 1/16/2019
0.0.1-pre000032 676 1/16/2019
0.0.1-pre000031 721 1/16/2019
0.0.1-pre000030 685 1/16/2019
0.0.1-pre000029 663 1/15/2019
0.0.1-pre000027 662 1/10/2019
0.0.1-pre000026 656 1/10/2019
0.0.1-pre000025 669 1/10/2019
0.0.1-pre000024 690 1/10/2019
0.0.1-pre000022 685 12/27/2018
0.0.1-pre000021 634 12/17/2018
0.0.1-pre000020 652 12/14/2018
0.0.1-pre000019 674 12/11/2018
0.0.1-pre000018 686 12/11/2018
0.0.1-pre000017 646 12/11/2018
0.0.1-pre000016 658 12/11/2018
0.0.1-pre000015 665 12/10/2018
0.0.1-pre000014 691 12/8/2018
0.0.1-pre000013 753 12/8/2018
0.0.1-pre000012 661 12/8/2018
0.0.1-pre000010 644 12/8/2018