Skip to content

feat: support customization for MDC serializer #214

feat: support customization for MDC serializer

feat: support customization for MDC serializer #214

GitHub Actions / Test Report succeeded Dec 18, 2024 in 1s

31 passed, 0 failed and 0 skipped

Tests passed successfully

Report Passed Failed Skipped Time
ecs-logging-core/target/surefire-reports/TEST-co.elastic.logging.EcsJsonSerializerTest.xml 9✔️ 230ms
ecs-logging-core/target/surefire-reports/TEST-co.elastic.logging.TimestampSerializerTest.xml 2✔️ 671ms
log4j-ecs-layout/target/surefire-reports/TEST-co.elastic.logging.log4j.Log4jEcsLayoutIntegrationTest.xml 10✔️ 55ms
log4j-ecs-layout/target/surefire-reports/TEST-co.elastic.logging.log4j.Log4jEcsLayoutTest.xml 10✔️ 339ms

✔️ ecs-logging-core/target/surefire-reports/TEST-co.elastic.logging.EcsJsonSerializerTest.xml

9 tests were completed in 230ms with 9 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
co.elastic.logging.EcsJsonSerializerTest 9✔️ 230ms

✔️ co.elastic.logging.EcsJsonSerializerTest

✔️ testEscaping
✔️ serializeNullDoesNotThrowAnException
✔️ serializeExceptionWithStackTraceAsArray
✔️ testRemoveIfEndsWith
✔️ serializeExceptionWithNullMessage
✔️ serializeExceptionAsArray
✔️ serializeException
✔️ serializeExceptionAsString
✔️ serializeExceptionWithSingleLineStackTraceAsArray

✔️ ecs-logging-core/target/surefire-reports/TEST-co.elastic.logging.TimestampSerializerTest.xml

2 tests were completed in 671ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
co.elastic.logging.TimestampSerializerTest 2✔️ 671ms

✔️ co.elastic.logging.TimestampSerializerTest

✔️ testSerializeWithCustomLocale
✔️ testSerializeEpochTimestampAsIsoDateTime

✔️ log4j-ecs-layout/target/surefire-reports/TEST-co.elastic.logging.log4j.Log4jEcsLayoutIntegrationTest.xml

10 tests were completed in 55ms with 10 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
co.elastic.logging.log4j.Log4jEcsLayoutIntegrationTest 10✔️ 55ms

✔️ co.elastic.logging.log4j.Log4jEcsLayoutIntegrationTest

✔️ testLogOrigin
✔️ testSimpleLog
✔️ testMdc
✔️ testThreadContext
✔️ testAdditionalFields
✔️ testMetadata
✔️ testLogExceptionNullMessage
✔️ testLogException
✔️ testThreadContextStack
✔️ testSimpleParameterizedLog

✔️ log4j-ecs-layout/target/surefire-reports/TEST-co.elastic.logging.log4j.Log4jEcsLayoutTest.xml

10 tests were completed in 339ms with 10 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
co.elastic.logging.log4j.Log4jEcsLayoutTest 10✔️ 339ms

✔️ co.elastic.logging.log4j.Log4jEcsLayoutTest

✔️ testLogOrigin
✔️ testSimpleLog
✔️ testMdc
✔️ testThreadContext
✔️ testAdditionalFields
✔️ testMetadata
✔️ testLogExceptionNullMessage
✔️ testLogException
✔️ testThreadContextStack
✔️ testSimpleParameterizedLog