Fixed metric name
Added ErrorReporter interface and made logging of methods semi-configurable