Package org.ops4j.pax.logging.spi
This package abstracts common concepts related to configuration of popular logging
frameworks/libraries.
The most important concept is appender which is a way to store logging events.
Usually file appenders are used, but any other processing may be involved.
Users who want to extend the configuration of chosen backend (Log4J2, Logback) don't have to
deal with framework-specific classes/interfaces, but may use these pax-logging interfaces.
Implementations of these interfaces will work with all pax-logging supported backends.
-
Interface Summary Interface Description PaxAppender Framework library agnostic representation of a processor for logging events.PaxDefaultLogStreamProvider Interface to register OSGi services that give access to singlePrintStreamthat should be used for many file-based default/fallback logs.PaxErrorHandler Framework library agnostic representation of a handler invoked when processing of logging event fails (usually inside appender).PaxFilter Framework library agnostic representation of a filter that may decide whether to process (pass) logging event or not.PaxLayout Framework library agnostic representation of a layout that's used to turn a logging event into String representation.PaxLevel Framework library agnostic representation of logging level.PaxLocationInfo Framework library agnostic representation of location info that identifies the place in code where logging event was created.PaxLoggingEvent Framework library agnostic representation of logging event that may be filtered and/or directed to anappender.