Package com.microsoft.z3
Class Log
java.lang.Object
com.microsoft.z3.Log
Interaction logging for Z3.
Remarks: Note that this is a global, static log
and if multiple Context objects are created, it logs the interaction with all
of them.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Log
public Log()
-
-
Method Details
-
open
Open an interaction log file.- Parameters:
filename- the name of the file to open- Returns:
- True if opening the log file succeeds, false otherwise.
-
close
public static void close()Closes the interaction log. -
append
Appends the user-provided stringsto the interaction log.- Throws:
Z3Exception
-
isOpen
public static boolean isOpen()Checks whether the interaction log is opened.- Returns:
- True if the interaction log is open, false otherwise.
-