See: Description
Interface | Description |
---|---|
BasicContextualLogger |
This interface defines loggers that will work with the ContextualLoggingManager.
|
Class | Description |
---|---|
ContextualLoggingManager<L extends BasicContextualLogger> |
This is the central component of the contextual logging framework.
|
ErrorHelper |
Utility class to help with validation of method arguments and
facilitate the use of transltable error message.
|
LogDomain<L extends BasicContextualLogger> |
Defines a logging domain, establishing a ADFContext-scoped namespace
for loggers sharing one common root logger.
|
LoggerProvider<L extends BasicContextualLogger> |
This is the base class for any logger provider that will work with the
ContextualLoggingManager.
|
Enum | Description |
---|---|
ErrorHelper.ErrorMessage |
Common error messages
|
The main goal of this Contextual Logging Framework is to help applications that need to log actions, events and/or data using one single logger throughout an entire logical flow instead of the most common approach where each class declares and uses its own private, static and constant logger instance, which will normally be named after the declaring class itself.
The framework exposes the following main components:
ContextualLoggingManager
LogDomain
LoggerProvider
ContextualLogger
DefaultContextualLogger
is also provided together with ContextualLoggerProvider
.
FunctionalLogger
DefaultFunctionalLogger
is also provided together with FunctionalLoggerProvider
.