|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Message | |
---|---|
org.apache.logging.log4j | Public API for Log4j 2. |
org.apache.logging.log4j.message | Public Message Types used for Log4j 2.0. |
org.apache.logging.log4j.simple | Simple logging implementation. |
org.apache.logging.log4j.spi | Internal interfaces and classes to be used by authors of logging implementations or for internal use by API classes. |
org.apache.logging.log4j.status | Status API for Log4j 2.0. |
Uses of Message in org.apache.logging.log4j |
---|
Methods in org.apache.logging.log4j with parameters of type Message | |
---|---|
void |
Logger.debug(Marker marker,
Message msg)
Logs a message with the specific Marker at the DEBUG level. |
void |
Logger.debug(Marker marker,
Message msg,
Throwable t)
Logs a message with the specific Marker at the DEBUG level. |
void |
Logger.debug(Message msg)
Logs a message with the specific Marker at the DEBUG level. |
void |
Logger.debug(Message msg,
Throwable t)
Logs a message with the specific Marker at the DEBUG level. |
void |
Logger.error(Marker marker,
Message msg)
Logs a message with the specific Marker at the ERROR level. |
void |
Logger.error(Marker marker,
Message msg,
Throwable t)
Logs a message with the specific Marker at the ERROR level. |
void |
Logger.error(Message msg)
Logs a message with the specific Marker at the ERROR level. |
void |
Logger.error(Message msg,
Throwable t)
Logs a message with the specific Marker at the ERROR level. |
void |
Logger.fatal(Marker marker,
Message msg)
Logs a message with the specific Marker at the FATAL level. |
void |
Logger.fatal(Marker marker,
Message msg,
Throwable t)
Logs a message with the specific Marker at the FATAL level. |
void |
Logger.fatal(Message msg)
Logs a message with the specific Marker at the FATAL level. |
void |
Logger.fatal(Message msg,
Throwable t)
Logs a message with the specific Marker at the FATAL level. |
void |
Logger.info(Marker marker,
Message msg)
Logs a message with the specific Marker at the INFO level. |
void |
Logger.info(Marker marker,
Message msg,
Throwable t)
Logs a message with the specific Marker at the INFO level. |
void |
Logger.info(Message msg)
Logs a message with the specific Marker at the INFO level. |
void |
Logger.info(Message msg,
Throwable t)
Logs a message with the specific Marker at the INFO level. |
void |
Logger.log(Level level,
Marker marker,
Message msg)
Logs a message with the specific Marker at the given level. |
void |
Logger.log(Level level,
Marker marker,
Message msg,
Throwable t)
Logs a message with the specific Marker at the given level. |
void |
Logger.log(Level level,
Message msg)
Logs a message with the specific Marker at the given level. |
void |
Logger.log(Level level,
Message msg,
Throwable t)
Logs a message with the specific Marker at the given level. |
void |
Logger.trace(Marker marker,
Message msg)
Logs a message with the specific Marker at the TRACE level. |
void |
Logger.trace(Marker marker,
Message msg,
Throwable t)
Logs a message with the specific Marker at the TRACE level. |
void |
Logger.trace(Message msg)
Logs a message with the specific Marker at the TRACE level. |
void |
Logger.trace(Message msg,
Throwable t)
Logs a message with the specific Marker at the TRACE level. |
void |
Logger.warn(Marker marker,
Message msg)
Logs a message with the specific Marker at the WARN level. |
void |
Logger.warn(Marker marker,
Message msg,
Throwable t)
Logs a message with the specific Marker at the WARN level. |
void |
Logger.warn(Message msg)
Logs a message with the specific Marker at the WARN level. |
void |
Logger.warn(Message msg,
Throwable t)
Logs a message with the specific Marker at the WARN level. |
Uses of Message in org.apache.logging.log4j.message |
---|
Subinterfaces of Message in org.apache.logging.log4j.message | |
---|---|
interface |
MultiformatMessage
A Message that can render itself in more than one way. |
Classes in org.apache.logging.log4j.message that implement Message | |
---|---|
class |
FormattedMessage
Handles messages that contain a format String. |
class |
LocalizedMessage
Provides some level of compatibility with Log4j 1.x and convenience but is not the recommended way to Localize messages. |
class |
MapMessage
Represents a Message that consists of a Map. |
class |
MessageFormatMessage
Handles messages that consist of a format string conforming to java.text.MessageFormat. |
class |
ObjectMessage
Handles messages that contain an Object. |
class |
ParameterizedMessage
Handles messages that consist of a format string containing '{}' to represent each replaceable token, and the parameters. |
class |
SimpleMessage
The simplest possible implementation of Message. |
class |
StringFormattedMessage
Handles messages that consist of a format string conforming to Formatter . |
class |
StructuredDataMessage
Represents a Message that conforms to an RFC 5424 StructuredData element along with the syslog message. |
class |
ThreadDumpMessage
Captures information about all running Threads. |
Methods in org.apache.logging.log4j.message that return Message | |
---|---|
protected Message |
FormattedMessage.getMessage(String msgPattern,
Object[] args,
Throwable throwable)
|
Message |
MessageFactory.newMessage(Object message)
Creates a new message based on an Object. |
Message |
AbstractMessageFactory.newMessage(Object message)
|
Message |
MessageFactory.newMessage(String message)
Creates a new message based on a String. |
Message |
AbstractMessageFactory.newMessage(String message)
|
Message |
StringFormatterMessageFactory.newMessage(String message,
Object... params)
Creates StringFormattedMessage instances. |
Message |
ParameterizedMessageFactory.newMessage(String message,
Object... params)
Creates ParameterizedMessage instances. |
Message |
MessageFormatMessageFactory.newMessage(String message,
Object... params)
Creates StringFormattedMessage instances. |
Message |
MessageFactory.newMessage(String message,
Object... params)
Creates a new parameterized message. |
Message |
LocalizedMessageFactory.newMessage(String key,
Object... params)
Creates StringFormattedMessage instances. |
Message |
FormattedMessageFactory.newMessage(String message,
Object... params)
Creates StringFormattedMessage instances. |
abstract Message |
AbstractMessageFactory.newMessage(String message,
Object... params)
|
Uses of Message in org.apache.logging.log4j.simple |
---|
Methods in org.apache.logging.log4j.simple with parameters of type Message | |
---|---|
boolean |
SimpleLogger.isEnabled(Level level,
Marker marker,
Message msg,
Throwable t)
|
void |
SimpleLogger.logMessage(String fqcn,
Level level,
Marker marker,
Message msg,
Throwable throwable)
|
Uses of Message in org.apache.logging.log4j.spi |
---|
Methods in org.apache.logging.log4j.spi that return Message | |
---|---|
protected Message |
AbstractLogger.catchingMsg(Throwable t)
|
protected Message |
AbstractLogger.entryMsg(int count,
Object... params)
|
protected Message |
AbstractLogger.exitMsg(Object result)
|
protected Message |
AbstractLogger.throwingMsg(Throwable t)
|
Methods in org.apache.logging.log4j.spi with parameters of type Message | |
---|---|
void |
AbstractLogger.debug(Marker marker,
Message msg)
Logs a message with the specific Marker at the DEBUG level. |
void |
AbstractLogger.debug(Marker marker,
Message msg,
Throwable t)
Logs a message with the specific Marker at the DEBUG level. |
void |
AbstractLogger.debug(Message msg)
Logs the specified Message at the DEBUG level. |
void |
AbstractLogger.debug(Message msg,
Throwable t)
Logs the specified Message at the DEBUG level. |
void |
AbstractLogger.error(Marker marker,
Message msg)
Logs a message with the specific Marker at the ERROR level. |
void |
AbstractLogger.error(Marker marker,
Message msg,
Throwable t)
Logs a message with the specific Marker at the ERROR level. |
void |
AbstractLogger.error(Message msg)
Logs the specified Message at the ERROR level. |
void |
AbstractLogger.error(Message msg,
Throwable t)
Logs the specified Message at the ERROR level. |
void |
AbstractLogger.fatal(Marker marker,
Message msg)
Logs a message with the specific Marker at the FATAL level. |
void |
AbstractLogger.fatal(Marker marker,
Message msg,
Throwable t)
Logs a message with the specific Marker at the FATAL level. |
void |
AbstractLogger.fatal(Message msg)
Logs the specified Message at the FATAL level. |
void |
AbstractLogger.fatal(Message msg,
Throwable t)
Logs the specified Message at the FATAL level. |
void |
AbstractLogger.info(Marker marker,
Message msg)
Logs a message with the specific Marker at the INFO level. |
void |
AbstractLogger.info(Marker marker,
Message msg,
Throwable t)
Logs a message with the specific Marker at the INFO level. |
void |
AbstractLogger.info(Message msg)
Logs the specified Message at the INFO level. |
void |
AbstractLogger.info(Message msg,
Throwable t)
Logs the specified Message at the INFO level. |
boolean |
ExtendedLoggerWrapper.isEnabled(Level level,
Marker marker,
Message message,
Throwable t)
Detect if the event would be logged. |
boolean |
ExtendedLogger.isEnabled(Level level,
Marker marker,
Message message,
Throwable t)
Determines if logging is enabled. |
void |
AbstractLogger.log(Level level,
Marker marker,
Message msg)
Logs a message with the specific Marker at the given level. |
void |
AbstractLogger.log(Level level,
Marker marker,
Message msg,
Throwable t)
Logs a message with the specific Marker at the given level. |
void |
AbstractLogger.log(Level level,
Message msg)
Logs the specified Message at the given level. |
void |
AbstractLogger.log(Level level,
Message msg,
Throwable t)
Logs the specified Message at the given level. |
void |
ExtendedLogger.logIfEnabled(String fqcn,
Level level,
Marker marker,
Message message,
Throwable t)
Logs a message if the specified level is active. |
void |
AbstractLogger.logIfEnabled(String fqcn,
Level level,
Marker marker,
Message msg,
Throwable t)
|
void |
ExtendedLoggerWrapper.logMessage(String fqcn,
Level level,
Marker marker,
Message message,
Throwable t)
Always log an event. |
void |
ExtendedLogger.logMessage(String fqcn,
Level level,
Marker marker,
Message message,
Throwable t)
Always logs a message at the specified level. |
void |
AbstractLogger.trace(Marker marker,
Message msg)
Logs a message with the specific Marker at the TRACE level. |
void |
AbstractLogger.trace(Marker marker,
Message msg,
Throwable t)
Logs a message with the specific Marker at the TRACE level. |
void |
AbstractLogger.trace(Message msg)
Logs the specified Message at the TRACE level. |
void |
AbstractLogger.trace(Message msg,
Throwable t)
Logs the specified Message at the TRACE level. |
void |
AbstractLogger.warn(Marker marker,
Message msg)
Logs a message with the specific Marker at the WARN level. |
void |
AbstractLogger.warn(Marker marker,
Message msg,
Throwable t)
Logs a message with the specific Marker at the WARN level. |
void |
AbstractLogger.warn(Message msg)
Logs the specified Message at the WARN level. |
void |
AbstractLogger.warn(Message msg,
Throwable t)
Logs the specified Message at the WARN level. |
Uses of Message in org.apache.logging.log4j.status |
---|
Methods in org.apache.logging.log4j.status that return Message | |
---|---|
Message |
StatusData.getMessage()
Returns the message associated with the event. |
Methods in org.apache.logging.log4j.status with parameters of type Message | |
---|---|
boolean |
StatusLogger.isEnabled(Level level,
Marker marker,
Message message,
Throwable t)
|
void |
StatusLogger.logMessage(String fqcn,
Level level,
Marker marker,
Message msg,
Throwable t)
Add an event. |
Constructors in org.apache.logging.log4j.status with parameters of type Message | |
---|---|
StatusData(StackTraceElement caller,
Level level,
Message msg,
Throwable t)
Creates the StatusData object. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Copyright © 1999-2014 Apache Software Foundation. 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.