Class LogbackAccessContext
-
- All Implemented Interfaces:
-
java.lang.AutoCloseable
public final class LogbackAccessContext implements AutoCloseable
The Logback-access context.
-
-
Field Summary
Fields Modifier and Type Field Description private final LogbackAccessPropertiesproperties
-
Constructor Summary
Constructors Constructor Description LogbackAccessContext(LogbackAccessProperties properties, ResourceLoader resourceLoader, Environment environment)
-
Method Summary
Modifier and Type Method Description final LogbackAccessPropertiesgetProperties()The configuration properties for Logback-access. final Unitemit(LogbackAccessEvent event)Emits the Logback-access event. Unitclose()StringtoString()-
-
Constructor Detail
-
LogbackAccessContext
LogbackAccessContext(LogbackAccessProperties properties, ResourceLoader resourceLoader, Environment environment)
- Parameters:
resourceLoader- The resource loader.environment- The environment.
-
-
Method Detail
-
getProperties
final LogbackAccessProperties getProperties()
The configuration properties for Logback-access.
-
emit
final Unit emit(LogbackAccessEvent event)
Emits the Logback-access event.
- Parameters:
event- The Logback-access event.
-
-
-
-