Interface DiagnosticReporter


  • public interface DiagnosticReporter
    Implement this interface to create a diagnostic reporter which will provide persistent writing of diagnostic information.
    • Method Detail

      • writeDiagnosticReport

        void writeDiagnosticReport​(Map<String,​Object> diagnosticInfo)
                            throws Exception
        Write the diagnostic information.
        Parameters:
        diagnosticInfo - the diagnostic information to write.
        Throws:
        Exception
      • writeDiagnosticReport

        void writeDiagnosticReport​(Map<String,​Object> diagnosticInfo,
                                   Writer writer)
                            throws Exception
        Write the diagnostic information to the specified Writer.
        Parameters:
        diagnosticInfo - the diagnostic information to write.
        writer - the writer to output information
        Throws:
        Exception