(For the log)

If we add any more configurable options to the error checking we might want to use a configuration struct.