-
Notifications
You must be signed in to change notification settings - Fork 8
io microsphere observability logging log4j2 DynamicLayout
github-actions[bot] edited this page Jul 17, 2026
·
1 revision
Type: Class | Module: microsphere-observability-logging | Package: io.microsphere.observability.logging.log4j2 | Since: 1.0.0
Dynamic Layout
public class DynamicLayout<T extends Serializable> implements Layout<T>Author: Mercy
-
Introduced in:
1.0.0 -
Current Project Version:
0.2.0-SNAPSHOT
This component is tested and compatible with the following Java versions:
| Java Version | Status |
|---|---|
| Java 17 | ✅ Compatible |
| Java 21 | ✅ Compatible |
| Java 25 | ✅ Compatible |
Add the following dependency to your pom.xml:
<dependency>
<groupId>io.github.microsphere-projects</groupId>
<artifactId>microsphere-observability-logging</artifactId>
<version>${microsphere-observability.version}</version>
</dependency>Tip: Use the BOM (
microsphere-observability-dependencies) for consistent version management. See the Getting Started guide.
import io.microsphere.observability.logging.log4j2.DynamicLayout;| Method | Description |
|---|---|
getFooter |
|
getHeader |
|
toByteArray |
|
toSerializable |
|
getContentType |
|
encode |
Layout
This documentation was auto-generated from the source code of microsphere-observability.
observability-logging
observability-logging-spring-boot
- AddingInMemoryAppenderListener
- ApplicationLoggingAutoConfiguration
- ConditionalOnLog4j2Available
- Log4j2AutoConfiguration
- Log4j2KafkaAppenderProperties
- RemovingInMemoryAppenderListener
- WebMvcLoggingAutoConfiguration
- WebServerLoggingAutoConfiguration
observability-metrics-spring-boot
- CGGroupMetricsAutoConfiguration
- ConditionalOnCGroupAvailable
- ConditionalOnEnabledPrometheusMetricsExport
- ConditionalOnEnabledPrometheusPushGateway
- ConditionalOnMicrometerAvailable
- ConditionalOnMicrometerEnabled
- ConditionalOnPlatformMXBeanAvailable
- JvmMetricsAutoConfiguration
- KafkaMetricsAutoConfiguration
- PlatformMXBeanCondition
- SentinelMetricsAutoConfiguration
- SystemMetricsAutoConfiguration
observability-micrometer
- AbstractMeterBinder
- CGroupMemoryMetrics
- MBeanAttributeMeterBinder
- MBeanMetrics
- MicrometerJdbcEventListener
- MicrometerUtils
- NetworkStatisticsMetrics
- SentinelMetrics
- SystemConstants
- SystemMemoryMetrics
- SystemUtils
observability-prometheus-metrics