Package org.smtlib
Interface Log.IListener
- All Known Implementing Classes:
Log.StandardListener
- Enclosing class:
Log
public static interface Log.IListener
This is an interface to be implemented by any Object that wants to hear log
messages; the Object must register itself by calling Log.addListener.
-
Method Summary
Modifier and TypeMethodDescriptionvoidSets the indent prefix used when displaying error-location carets; typically the current prompt string.voidCalled when a message is sent to the SMT-LIB diagnostic output (it is expected that a line termination will be added)voidCalled when an error is being recorded on the normal output (it is expected that a line termination will be added)voidlogError(IResponse.IError result) Called when an IError is being recorded on the normal output - the listener has the opportunity to record error location information as wellvoidCalled when messages are logged to the normal output (it is expected that a line termination will be added).voidCalled when a response is logged to the normal output (it is expected that a line termination will be added); the argument is converted to text using the defaultPrinter in the smt configuration.voidlogOutNoln(String msg) Called when a message is sent to the normal output with no line termination (e.g.
-
Method Details
-
logOut
Called when messages are logged to the normal output (it is expected that a line termination will be added). -
logOutNoln
Called when a message is sent to the normal output with no line termination (e.g. an interactive prompt, which the user's own input is meant to continue on the same line). -
logOut
Called when a response is logged to the normal output (it is expected that a line termination will be added); the argument is converted to text using the defaultPrinter in the smt configuration. -
logError
Called when an error is being recorded on the normal output (it is expected that a line termination will be added) -
logError
Called when an IError is being recorded on the normal output - the listener has the opportunity to record error location information as well -
logDiag
Called when a message is sent to the SMT-LIB diagnostic output (it is expected that a line termination will be added) -
indent
Sets the indent prefix used when displaying error-location carets; typically the current prompt string.
-