minilua::InterpreterConfig struct

Configuration for the Interpreter.

This controls the debug logging.

The target defaults to std::cerr.

Constructors, destructors, conversion operators

InterpreterConfig()
Default constructor turns all tracing off.
InterpreterConfig(bool)
Sets all tracing to the given value.

Public functions

void all(bool)
Set all trace flags to the given value.

Public variables

std::ostream* target
Where to log to.
bool trace_nodes
Trace node enter and exit.
bool trace_calls
Trace calls.
bool trace_metamethod_calls
Trace metamethod cals.
bool trace_enter_block
Trace entering blocks.
bool trace_exprlists
Trace creating expression lists.
bool trace_break
Trace breaking in loops.
bool trace_varargs
Trace creating varargs.

Variable documentation

std::ostream* minilua::InterpreterConfig::target

Where to log to.

Defaults to std::cerr.