Redesigned ErrorLog API.
Removed accidental commit :-).