Package | Description |
---|---|
org.apache.logging.log4j |
Public API for Log4j 2.
|
org.apache.logging.log4j.message |
Public Message Types used for Log4j 2.
|
org.apache.logging.log4j.spi |
Internal interfaces and classes to be used by authors of logging implementations or for internal use by
API classes.
|
Modifier and Type | Method | Description |
---|---|---|
EntryMessage |
Logger.traceEntry() |
Logs entry to a method.
|
EntryMessage |
Logger.traceEntry(String format,
Object... params) |
Logs entry to a method along with its parameters.
|
EntryMessage |
Logger.traceEntry(String format,
Supplier<?>... paramSuppliers) |
Logs entry to a method along with its parameters.
|
EntryMessage |
Logger.traceEntry(Message message) |
Logs entry to a method using a Message to describe the parameters.
|
EntryMessage |
Logger.traceEntry(Supplier<?>... paramSuppliers) |
Logs entry to a method along with its parameters.
|
Modifier and Type | Method | Description |
---|---|---|
void |
Logger.traceExit(EntryMessage message) |
Logs exiting from a method with no result.
|
<R> R |
Logger.traceExit(EntryMessage message,
R result) |
Logs exiting from a method with the result.
|
Modifier and Type | Method | Description |
---|---|---|
EntryMessage |
DefaultFlowMessageFactory.newEntryMessage(Message message) |
|
EntryMessage |
FlowMessageFactory.newEntryMessage(Message message) |
Creates a new entry message based on an existing message.
|
Modifier and Type | Method | Description |
---|---|---|
ExitMessage |
DefaultFlowMessageFactory.newExitMessage(Object result,
EntryMessage message) |
|
ExitMessage |
DefaultFlowMessageFactory.newExitMessage(EntryMessage message) |
|
ExitMessage |
FlowMessageFactory.newExitMessage(Object result,
EntryMessage message) |
Creates a new exit message based on a return value and an existing entry message.
|
ExitMessage |
FlowMessageFactory.newExitMessage(EntryMessage message) |
Creates a new exit message based on no return value and an existing entry message.
|
Modifier and Type | Method | Description |
---|---|---|
protected EntryMessage |
AbstractLogger.enter(String fqcn,
String format,
Object... params) |
Logs entry to a method with location information.
|
protected EntryMessage |
AbstractLogger.enter(String fqcn,
String format,
MessageSupplier... paramSuppliers) |
Deprecated.
|
protected EntryMessage |
AbstractLogger.enter(String fqcn,
String format,
Supplier<?>... paramSuppliers) |
Logs entry to a method with location information.
|
protected EntryMessage |
AbstractLogger.enter(String fqcn,
Message message) |
Logs entry to a method with location information.
|
protected EntryMessage |
AbstractLogger.enter(String fqcn,
MessageSupplier msgSupplier) |
Deprecated.
|
protected EntryMessage |
AbstractLogger.entryMsg(String format,
Object... params) |
|
protected EntryMessage |
AbstractLogger.entryMsg(String format,
MessageSupplier... paramSuppliers) |
|
protected EntryMessage |
AbstractLogger.entryMsg(String format,
Supplier<?>... paramSuppliers) |
|
EntryMessage |
AbstractLogger.traceEntry() |
|
EntryMessage |
AbstractLogger.traceEntry(String format,
Object... params) |
|
EntryMessage |
AbstractLogger.traceEntry(String format,
Supplier<?>... paramSuppliers) |
|
EntryMessage |
AbstractLogger.traceEntry(Message message) |
|
EntryMessage |
AbstractLogger.traceEntry(Supplier<?>... paramSuppliers) |
Modifier and Type | Method | Description |
---|---|---|
void |
AbstractLogger.traceExit(EntryMessage message) |
|
<R> R |
AbstractLogger.traceExit(EntryMessage message,
R result) |
Copyright © 1999-2018. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.