public interface DiagnosticManager
| Modifier and Type | Method and Description |
|---|---|
void |
dumpDiagnosticReport(Throwable t)
Dump the diagnostic information through the
DiagnosticReporter. |
Map<String,Object> |
getDiagnosticInfo(Throwable t)
Retrieve the diagnostic information as a Map.
|
void |
registerDiagnosticInfoCollector(String domain,
DiagnosticInfoCollector diagnosticInfoCollector)
Register a diagnostic collector.
|
Map<String,Object> getDiagnosticInfo(Throwable t)
t - the exception which may be the origin of this diagnostic generation. May be null.void dumpDiagnosticReport(Throwable t)
DiagnosticReporter.t - the exception which may be the origin of this diagnostic generation. May be null.void registerDiagnosticInfoCollector(String domain, DiagnosticInfoCollector diagnosticInfoCollector)
domain - the diagnostic collector domain which will be used root node in the diagnostic
tree.diagnosticInfoCollector - the diagnostic collector to register.Copyright © 2013-2018–2019 SeedStack. All rights reserved.