Package net.minecraftforge.fml.loading
Class AdvancedLogMessageAdapter
- java.lang.Object
-
- net.minecraftforge.fml.loading.AdvancedLogMessageAdapter
-
- All Implemented Interfaces:
java.io.Serializable
,org.apache.logging.log4j.message.Message
,org.apache.logging.log4j.util.StringBuilderFormattable
public class AdvancedLogMessageAdapter extends java.lang.Object implements org.apache.logging.log4j.message.Message, org.apache.logging.log4j.util.StringBuilderFormattable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.Object[]
EMPTY
private java.util.function.Consumer<java.lang.StringBuilder>
logMessageBuilder
private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description AdvancedLogMessageAdapter(java.util.function.Consumer<java.lang.StringBuilder> logMessageBuilder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
formatTo(java.lang.StringBuilder buffer)
java.lang.String
getFormat()
java.lang.String
getFormattedMessage()
java.lang.Object[]
getParameters()
java.lang.Throwable
getThrowable()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
EMPTY
private static final java.lang.Object[] EMPTY
-
logMessageBuilder
private final java.util.function.Consumer<java.lang.StringBuilder> logMessageBuilder
-
-
Method Detail
-
getFormattedMessage
public java.lang.String getFormattedMessage()
- Specified by:
getFormattedMessage
in interfaceorg.apache.logging.log4j.message.Message
-
getFormat
public java.lang.String getFormat()
- Specified by:
getFormat
in interfaceorg.apache.logging.log4j.message.Message
-
getParameters
public java.lang.Object[] getParameters()
- Specified by:
getParameters
in interfaceorg.apache.logging.log4j.message.Message
-
getThrowable
public java.lang.Throwable getThrowable()
- Specified by:
getThrowable
in interfaceorg.apache.logging.log4j.message.Message
-
formatTo
public void formatTo(java.lang.StringBuilder buffer)
- Specified by:
formatTo
in interfaceorg.apache.logging.log4j.util.StringBuilderFormattable
-
-