Package ghidra.app.script
Class ScriptMessage
- java.lang.Object
- 
- ghidra.app.script.ScriptMessage
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- org.apache.logging.log4j.message.Message
 
 public class ScriptMessage extends java.lang.Object implements org.apache.logging.log4j.message.MessageA simpleMessageimplementation that allows us to use the filtering capability of log4j. This class has a formatted and unformatted message. log4j writes the the formatted message out. Our formatted message is the original message given to us. We use the unformatted message, in conjunction with a regex filter to allow for filtering such that the script log file only has script messages.See logj4-appender-rolling-file-scripts.xml - See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description ScriptMessage(java.lang.String message)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetFormat()java.lang.StringgetFormattedMessage()java.lang.Object[]getParameters()java.lang.ThrowablegetThrowable()
 
- 
- 
- 
Method Detail- 
getFormattedMessagepublic java.lang.String getFormattedMessage() - Specified by:
- getFormattedMessagein interface- org.apache.logging.log4j.message.Message
 
 - 
getFormatpublic java.lang.String getFormat() - Specified by:
- getFormatin interface- org.apache.logging.log4j.message.Message
 
 - 
getParameterspublic java.lang.Object[] getParameters() - Specified by:
- getParametersin interface- org.apache.logging.log4j.message.Message
 
 - 
getThrowablepublic java.lang.Throwable getThrowable() - Specified by:
- getThrowablein interface- org.apache.logging.log4j.message.Message
 
 
- 
 
-