Added a new class to linz, enabling error output to be directed anywhere.