Package | Description |
---|---|
org.adroitlogic.x.logging |
This package contains the Logger framework API classes
|
org.adroitlogic.x.logging.log4j2 |
This package contains the log4j2 based logging implementation of the project-x logging API
|
Modifier and Type | Class and Description |
---|---|
class |
CloseableLogContext
A Log context that holds the message diagnose context information for each log yet auto closes within a try block
to make sure the diagnose context is cleared at the end of the logging process.
|
Modifier and Type | Method and Description |
---|---|
static CloseableContext |
CloseableLogContext.defaultContext() |
static CloseableContext |
CloseableLogContext.forProject(String projectId,
String version) |
protected CloseableContext |
NoLogger.getContext() |
protected abstract CloseableContext |
Logger.getContext() |
CloseableContext |
CloseableLogContext.mergeInto(CloseableContext ctx) |
CloseableContext |
CloseableLogContext.put(String key,
String value) |
CloseableContext |
CloseableContext.put(String key,
String value) |
Modifier and Type | Method and Description |
---|---|
CloseableContext |
CloseableLogContext.mergeInto(CloseableContext ctx) |
Modifier and Type | Class and Description |
---|---|
class |
Log4j2CloseableContext
CloseableThreadContext implementation of the log4j mapped to the project-x logging API
|
Modifier and Type | Method and Description |
---|---|
protected CloseableContext |
Log4j2LoggerImpl.getContext() |
CloseableContext |
Log4j2CloseableContext.put(String key,
String value) |
Copyright © 2016–2019 AdroitLogic. All rights reserved.