Logging facility for endpoints

Fork of ErrorHandler by Doug Anson

ErrorHandler.cpp/shortlog@8a7802da8642: not found in manifest