Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add trx logger #154

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open

Add trx logger #154

wants to merge 11 commits into from

Conversation

alexaka1
Copy link
Owner

No description provided.

Copy link

changeset-bot bot commented Nov 29, 2024

⚠️ No Changeset found

Latest commit: 8557db1

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Contributor

Platform: macos-latest

Code Coverage

Package Line Rate Branch Rate Complexity Health
Serilog.Extensions.Formatting 97% 93% 146
Summary 97% (229 / 235) 93% (127 / 136) 146

Copy link
Contributor

Platform: windows-latest

Code Coverage

Package Line Rate Branch Rate Complexity Health
Serilog.Extensions.Formatting 97% 93% 146
Summary 97% (229 / 235) 93% (127 / 136) 146

Copy link
Contributor

github-actions bot commented Dec 4, 2024

98 passed 98 passed

🧪 Details on Ubuntu 22.04.5 LTS

✅ Serilog.Extensions.Formatting.Test.HostTests.HostedServiceCanWriteOnManyThreads(data: HostParams { FilePath = "/tmp/tmp26f6f380.tmp", Iterations = 1000, Name = "JsonFormatter", Services = ServiceProvider { }, Threads = 100 })
✅ Serilog.Extensions.Formatting.Test.HostTests.HostedServiceCanWriteOnManyThreads(data: HostParams { FilePath = "/tmp/tmpsoaVXz.tmp", Iterations = 1000, Name = "JsonFormatter", Services = ServiceProvider { }, Threads = 100 })
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.ABooleanPropertySerializesAsBooleanValue
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.ABooleanPropertySerializesAsBooleanValue
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.AByteSerializesAsNumericValue
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.AByteSerializesAsNumericValue
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.ACharPropertySerializesAsStringValue
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.ACharPropertySerializesAsStringValue
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.ADecimalSerializesAsNumericValue
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.ADecimalSerializesAsNumericValue
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.ADictionaryWithScalarKeySerializesAsAnObject
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.ADictionaryWithScalarKeySerializesAsAnObject
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.ADoubleSerializesAsNumericValue
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.ADoubleSerializesAsNumericValue
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.AFloatSerializesAsNumericValue
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.AFloatSerializesAsNumericValue
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.AGuidPropertySerializesAsStringValue
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.AGuidPropertySerializesAsStringValue
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.ALongSerializesAsNumericValue
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.ALongSerializesAsNumericValue
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.AnArrayPropertySerializesAsObjectToStringValue
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.AnArrayPropertySerializesAsObjectToStringValue
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.ANegativeIntegerPropertySerializesAsIntegerValue
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.ANegativeIntegerPropertySerializesAsIntegerValue
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.AnEnumPropertySerializesAsStringValue
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.AnEnumPropertySerializesAsStringValue
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.AnIntegerPropertySerializesAsIntegerValue
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.AnIntegerPropertySerializesAsIntegerValue
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.AnISpanFormattablePropertySerializesAsStringValue
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.AnISpanFormattablePropertySerializesAsStringValueNet6
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.AnISpanFormattableValueTypePropertySerializesAsStringValue
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.ANullIsSerializedAsNullRegardlessOfType
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.ANullIsSerializedAsNullRegardlessOfType
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.AnUnsignedIntegerPropertySerializesAsIntegerValue
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.AnUnsignedIntegerPropertySerializesAsIntegerValue
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.AnUnsignedLongSerializesAsNumericValue
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.AnUnsignedLongSerializesAsNumericValue
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.AnUnsignedShortSerializesAsIntegerValue
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.AnUnsignedShortSerializesAsIntegerValue
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.ASbyteSerializesAsNumericValue
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.ASbyteSerializesAsNumericValue
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.ASequencePropertySerializesAsArrayValue
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.ASequencePropertySerializesAsArrayValue
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.AShortSerializesAsIntegerValue
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.AShortSerializesAsIntegerValue
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.AStructureSerializesAsAnObject
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.AStructureSerializesAsAnObject
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.AStructureWithTypeTagSerializesAsAnObject
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.AStructureWithTypeTagSerializesAsAnObject
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.ATimeSpanSerializesAsStringValue
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.ATimeSpanSerializesAsStringValue
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.CustomDictionariesAreDestructuredViaDictionaryValue_When_AsDictionary_Applied
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.CustomDictionariesAreDestructuredViaDictionaryValue_When_AsDictionary_Applied
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.CustomDictionariesAreDestructuredViaDictionaryValue_When_AsDictionary_Applied_IsValid
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.CustomDictionariesAreDestructuredViaDictionaryValue_When_AsDictionary_Applied_IsValid
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.DictionariesAreDestructuredViaDictionaryValue
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.DictionariesAreDestructuredViaDictionaryValue
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.JsonFormattedDate
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.JsonFormattedDate
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.JsonFormattedDateOnly
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.JsonFormattedEventsIncludeTimestamp
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.JsonFormattedEventsIncludeTimestamp
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.JsonFormattedTimeOnly
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.PropertyTokensWithFormatStringsAreIncludedAsRenderings
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.PropertyTokensWithFormatStringsAreIncludedAsRenderings
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.PropertyTokensWithoutFormatStringsAreNotIncludedAsRenderings
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.PropertyTokensWithoutFormatStringsAreNotIncludedAsRenderings
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.ReadonlyDictionariesAreDestructuredViaDictionaryValue
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.ReadonlyDictionariesAreDestructuredViaDictionaryValue
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.RenderedMessageIsIncludedCorrectlyWhenRequired
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.RenderedMessageIsIncludedCorrectlyWhenRequired
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.SequencesOfSequencesAreSerialized
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.SequencesOfSequencesAreSerialized
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.TraceAndSpanAreIgnoredWhenAbsent
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.TraceAndSpanAreIgnoredWhenAbsent
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.TraceAndSpanAreIncludedWhenPresent
✅ Serilog.Extensions.Formatting.Test.SerilogJsonFormatterTests.TraceAndSpanAreIncludedWhenPresent
✅ Serilog.Extensions.Formatting.Test.Utf8JsonFormatterTests.CamelCase
✅ Serilog.Extensions.Formatting.Test.Utf8JsonFormatterTests.CamelCase
✅ Serilog.Extensions.Formatting.Test.Utf8JsonFormatterTests.DoesNotThrowError
✅ Serilog.Extensions.Formatting.Test.Utf8JsonFormatterTests.DoesNotThrowError
✅ Serilog.Extensions.Formatting.Test.Utf8JsonFormatterTests.ExpressionTemplate
✅ Serilog.Extensions.Formatting.Test.Utf8JsonFormatterTests.ExpressionTemplate
✅ Serilog.Extensions.Formatting.Test.Utf8JsonFormatterTests.FormatTest
✅ Serilog.Extensions.Formatting.Test.Utf8JsonFormatterTests.FormatTest
✅ Serilog.Extensions.Formatting.Test.Utf8JsonFormatterTests.IsThreadSafe(params: ThreadSafetyParams { Formatter = Utf8JsonFormatter { }, Iterations = 1, Name = "Utf8JsonFormatter", Threads = 100 })
✅ Serilog.Extensions.Formatting.Test.Utf8JsonFormatterTests.IsThreadSafe(params: ThreadSafetyParams { Formatter = Utf8JsonFormatter { }, Iterations = 1000, Name = "Utf8JsonFormatter", Threads = 1 })
✅ Serilog.Extensions.Formatting.Test.Utf8JsonFormatterTests.KebabCaseLower
✅ Serilog.Extensions.Formatting.Test.Utf8JsonFormatterTests.NullParameterShouldThrow
✅ Serilog.Extensions.Formatting.Test.Utf8JsonFormatterTests.NullParameterShouldThrow
✅ Serilog.Extensions.Formatting.Test.Utf8JsonFormatterTests.RendersSameJsonAsJsonFormatter(e: LogEvent { Exception = System.Exception: test, Level = Information, MessageTemplate = I have {Fruit,-20} fruits, Properties = [[[["Fruit"]] = "apple"]], SpanId = null, ··· })
✅ Serilog.Extensions.Formatting.Test.Utf8JsonFormatterTests.RendersSameJsonAsJsonFormatter(e: LogEvent { Exception = System.Exception: test, Level = Verbose, MessageTemplate = My name is {Name}, I'm {Age} years old, and I live in {City}, and the time is {Time:HH:mm:ss}, Properties = [[[["Name"]] = "John Doe", [["Age"]] = 42, [["City"]] = "London", [["Time"]] = 01/01/2023 11:34:56]], SpanId = null, ··· })
✅ Serilog.Extensions.Formatting.Test.Utf8JsonFormatterTests.SnakeCaseLower
✅ Serilog.Extensions.Formatting.Test.Utf8JsonFormatterTests.SnakeCaseUpper
✅ Serilog.Extensions.Formatting.Test.Utf8JsonFormatterTests.UseAfterDisposeShouldThrow
✅ Serilog.Extensions.Formatting.Test.Utf8JsonFormatterTests.UseAfterDisposeShouldThrow
✅ Serilog.Extensions.Formatting.Test.Utf8JsonFormatterTests.WithException
✅ Serilog.Extensions.Formatting.Test.Utf8JsonFormatterTests.WithException

from dotnet-trx v0.4.5 on .NET 8.0.11 with 💜

Copy link
Contributor

github-actions bot commented Dec 4, 2024

Platform: ubuntu-latest

Code Coverage

Package Line Rate Branch Rate Complexity Health
Serilog.Extensions.Formatting 97% 93% 146
Summary 97% (229 / 235) 93% (127 / 136) 146

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant