log.go

Interaction logging for debugging and analysis

Functions

AppendLog

func AppendLog(s string)

AppendLog appends a user-provided string to the interaction log Panics if the log is not open

CloseLog

func CloseLog()

CloseLog closes the interaction log

IsLogOpen

func IsLogOpen() bool

IsLogOpen returns true if the interaction log is open

OpenLog

func OpenLog(filename string) bool

OpenLog opens an interaction log file Returns true if successful, false otherwise