Main enty point to the diagnosis. Allows your application to record diagnosis data to various channels, which can then be stored in a diagnosis.record for later analysis. The following configuration sub-keys are usually known for this class (see {@link PluginConfiguration}, keys must be set
before createPluginManager() is being called, i.e., set in the {@link JSPFProperties} object!):
- recording.enabled - If we should record to a file or not. If switched off, diagnosis has virtually no overhead. Specify either {true, false}.
- recording.file - File to which the record should be writte (will be overwritten).
- recording.format - Format to write. Should be
java/serialization
for now. - analysis.stacktraces.enabled - If true, a stack trace will also be written. Very helpful, rather slow. Specify either {true, false}.
- analysis.stacktraces.depth - Depth of the stacktrace. Specify either something from 1 to 10000.
@author Ralf Biedert
@since 1.1
@see DiagnosisUtil