Package nom.tam.util
Class LoggerHelper
java.lang.Object
nom.tam.util.LoggerHelper
Access to
Logger
instances by class. Many of the FITS classes log minor issues they encounter during
processing (such as small FITS standard violations in 3rd pary FITS files). This tool provides access to these class
logs simply by the class itself. E.g. to get the log of Header
, you'd simply call:
Logger headerLog = LoggerHelper(Header.class);without needing to know what name the log is being stored under. You can then use this to access the log, or to mute unwanted messages on a per-class basis.
-
Method Summary
-
Method Details
-
getLogger
- Parameters:
aClass
- the class to get the logger for.- Returns:
- a Java
Logger
for the specified class.
-