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 Summary
Constructors Constructor Description ScriptMessage(java.lang.String message) 
- 
Method Summary
All 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
- 
getFormattedMessage
public java.lang.String getFormattedMessage()
- Specified by:
 getFormattedMessagein interfaceorg.apache.logging.log4j.message.Message
 
- 
getFormat
public java.lang.String getFormat()
- Specified by:
 getFormatin interfaceorg.apache.logging.log4j.message.Message
 
- 
getParameters
public java.lang.Object[] getParameters()
- Specified by:
 getParametersin interfaceorg.apache.logging.log4j.message.Message
 
- 
getThrowable
public java.lang.Throwable getThrowable()
- Specified by:
 getThrowablein interfaceorg.apache.logging.log4j.message.Message
 
 - 
 
 -