/** Install this diagnostic handler as the current one, recording the previous one. */ protected void install(Log log) { prev = log.diagnosticHandler; log.diagnosticHandler = this; }