Package uk.ac.starlink.topcat.plot2
Class ReportLogger
java.lang.Object
uk.ac.starlink.topcat.plot2.ReportLogger
Accepts plot reports on behalf of a layer control and reports them
through the logging system. This is not intended to be the primary
way that this information is conveyed to the user, but it's a functional
fallback/placeholder where a report submission GUI is not available.
- Since:
- 10 Dec 2014
- Author:
- Mark Taylor
-
Constructor Summary
ConstructorsConstructorDescriptionReportLogger
(LayerControl control) Constructs a logger with a default logging level.ReportLogger
(LayerControl control, Level level) Constructs a logger with an explicit logging level. -
Method Summary
Modifier and TypeMethodDescriptionvoid
submitReports
(Map<LayerId, uk.ac.starlink.ttools.plot2.ReportMap> reports) Issues logging messages relating to the reports of plot layers generated with this object's layer control.
-
Constructor Details
-
ReportLogger
Constructs a logger with an explicit logging level.- Parameters:
control
- layer control on behalf of which reports will be dealt withlevel
- logging level at which reports will be logged
-
ReportLogger
Constructs a logger with a default logging level.- Parameters:
control
- layer control on behalf of which reports will be dealt with
-
-
Method Details
-
submitReports
Issues logging messages relating to the reports of plot layers generated with this object's layer control.- Parameters:
reports
- plot reports
-