Machine Code Generation for C++
Logger that can log to a
Creates a new
FileLogger that logs to
Returns the logging output stream or null if the logger has no output stream.
Sets the logging output stream to
stream or null.
fileis null the logging will be disabled. When a logger is attached to
CodeHolderor any emitter the logging API will always be called regardless of the output file. This means that if you really want to disable logging at emitter level you must not attach a logger to it.
str - must be reimplemented.
The function can accept either a null terminated string if
SIZE_MAX or a non-null terminated string of the given
size. The function cannot assume that the data is null terminated and must handle non-null terminated inputs.