Vostok.Logging.Hercules
0.1.13
Prefix Reserved
dotnet add package Vostok.Logging.Hercules --version 0.1.13
NuGet\Install-Package Vostok.Logging.Hercules -Version 0.1.13
<PackageReference Include="Vostok.Logging.Hercules" Version="0.1.13" />
paket add Vostok.Logging.Hercules --version 0.1.13
#r "nuget: Vostok.Logging.Hercules, 0.1.13"
// Install Vostok.Logging.Hercules as a Cake Addin #addin nuget:?package=Vostok.Logging.Hercules&version=0.1.13 // Install Vostok.Logging.Hercules as a Cake Tool #tool nuget:?package=Vostok.Logging.Hercules&version=0.1.13
Vostok.Logging.Hercules
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
ofTimestamp
. utcOffset
tag — along
tag with offset from UTC expressed in 100-ns ticks.
- Hercules event built-in timestamp —
Level
--->level
tag ofstring
type.MessageTemplate
--->messageTemplate
tag ofstring
type.RenderedMessage
--->message
tag containing rendered text.Properties
dictionary corresponds to a container with nameproperties
. 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 overridesToString()
) or serialized to JSON. No further container-like structure is allowed, all values end up being 'flat'.
- If the value is a primitive scalar or a vector of primitive scalars natively supported by Hercules (such as
Exception
object corresponds to a container with nameexception
and following tags:- Exception runtime type (e.g.
System.NullReferenceException
) --->type
tag of typestring
. - Exception message --->
message
tag of typestring
. - Nested exceptions (e.g.
InnerException
andInnerExceptions
forAggregateException
) --->innerExceptions
tag of typeVector
which contains other exceptions in the same format. - Stacktrace of exception --->
stackFrames
tag of typeVector<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 whenfunction
is declared.file
- file name.line
- line number.column
- column number.
- Exception runtime type (e.g.
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 | 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. |
-
.NETStandard 2.0
- Vostok.Hercules.Client.Abstractions (>= 0.1.11)
- Vostok.Logging.Abstractions (>= 1.0.32)
- Vostok.Logging.Formatting (>= 1.0.14)
-
net6.0
- Vostok.Hercules.Client.Abstractions (>= 0.1.11)
- Vostok.Logging.Abstractions (>= 1.0.32)
- Vostok.Logging.Formatting (>= 1.0.14)
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.13 | 890 | 10/25/2024 |
0.1.12 | 20,194 | 10/31/2022 |
0.1.12-pre000033 | 134 | 10/31/2022 |
0.1.12-pre000027 | 1,013 | 9/14/2022 |
0.1.12-pre000026 | 685 | 7/28/2022 |
0.1.12-pre000025 | 331 | 6/23/2022 |
0.1.12-pre000022 | 187 | 3/2/2022 |
0.1.11 | 20,011 | 3/2/2022 |
0.1.11-pre000015 | 165 | 12/20/2021 |
0.1.11-pre000014 | 437 | 12/8/2021 |
0.1.10 | 19,415 | 12/8/2021 |
0.1.10-pre000012 | 176 | 12/6/2021 |
0.1.9 | 509 | 12/6/2021 |
0.1.9-pre000077 | 648 | 9/10/2021 |
0.1.9-pre000010 | 172 | 12/4/2021 |
0.1.9-pre000009 | 160 | 12/3/2021 |
0.1.9-pre000008 | 181 | 12/3/2021 |
0.1.9-pre000007 | 169 | 11/27/2021 |
0.1.9-pre000006 | 167 | 11/27/2021 |
0.1.9-pre000005 | 1,540 | 11/26/2021 |
0.1.9-pre000004 | 6,175 | 11/24/2021 |
0.1.9-pre000003 | 5,070 | 11/23/2021 |
0.1.8 | 15,793 | 9/10/2021 |
0.1.8-pre000075 | 729 | 3/16/2021 |
0.1.7 | 48,689 | 3/16/2021 |
0.1.7-pre000073 | 453 | 2/9/2021 |
0.1.6 | 6,378 | 2/9/2021 |
0.1.6-pre000071 | 350 | 1/22/2021 |
0.1.5 | 1,688 | 1/22/2021 |
0.1.4 | 81,712 | 9/29/2020 |
0.1.4-pre000062 | 1,459 | 5/15/2020 |
0.1.3 | 59,828 | 5/15/2020 |
0.1.3-pre000060 | 324 | 5/15/2020 |
0.1.3-pre000059 | 1,088 | 12/7/2019 |
0.1.2 | 125,919 | 12/2/2019 |
0.1.2-pre000055 | 351 | 10/18/2019 |
0.1.1 | 794 | 10/18/2019 |
0.1.1-pre000053 | 387 | 9/11/2019 |
0.1.1-pre000052 | 4,693 | 3/22/2019 |
0.1.0 | 1,354 | 3/22/2019 |
0.1.0-pre000050 | 413 | 3/22/2019 |
0.0.1-pre000045 | 466 | 2/28/2019 |
0.0.1-pre000044 | 685 | 2/13/2019 |
0.0.1-pre000043 | 474 | 2/11/2019 |
0.0.1-pre000042 | 532 | 2/6/2019 |
0.0.1-pre000041 | 480 | 1/29/2019 |
0.0.1-pre000040 | 489 | 1/24/2019 |
0.0.1-pre000038 | 574 | 1/18/2019 |
0.0.1-pre000036 | 529 | 1/18/2019 |
0.0.1-pre000034 | 536 | 1/16/2019 |
0.0.1-pre000033 | 521 | 1/16/2019 |
0.0.1-pre000032 | 539 | 1/16/2019 |
0.0.1-pre000031 | 589 | 1/16/2019 |
0.0.1-pre000030 | 553 | 1/16/2019 |
0.0.1-pre000029 | 533 | 1/15/2019 |
0.0.1-pre000027 | 526 | 1/10/2019 |
0.0.1-pre000026 | 520 | 1/10/2019 |
0.0.1-pre000025 | 521 | 1/10/2019 |
0.0.1-pre000024 | 559 | 1/10/2019 |
0.0.1-pre000022 | 553 | 12/27/2018 |
0.0.1-pre000021 | 502 | 12/17/2018 |
0.0.1-pre000020 | 519 | 12/14/2018 |
0.0.1-pre000019 | 533 | 12/11/2018 |
0.0.1-pre000018 | 545 | 12/11/2018 |
0.0.1-pre000017 | 512 | 12/11/2018 |
0.0.1-pre000016 | 519 | 12/11/2018 |
0.0.1-pre000015 | 526 | 12/10/2018 |
0.0.1-pre000014 | 550 | 12/8/2018 |
0.0.1-pre000013 | 619 | 12/8/2018 |
0.0.1-pre000012 | 538 | 12/8/2018 |
0.0.1-pre000010 | 508 | 12/8/2018 |