ocssw
V2022
|
Base.hpp
Go to the documentation of this file.
88 virtual void log(LogSeverity severity, const std::string& s){ this->log(static_cast<int>(severity), s); }
100 LogTarget(int min_severity, int max_severity, std::unique_ptr<LogFacility> f) : min_severity_{min_severity}, max_severity_{max_severity}, log_facility_{std::move(f)} {}
Simple class containing a log facility and the severity ranges it should receive.
These are used to scale the SD before writing it to the HDF4 file The default is and which means the product is not scaled at all Since the product is usually stored as a float inside of this is a way to write the float out as a integer l2prod min
Definition: HOWTO_Add_a_product.txt:76
virtual void log(LogSeverity severity, const std::string &s)
Wrapper for the above function, converting the LogSeverity enum to its underlying numeric severity....
Definition: Base.hpp:88
virtual void log(int severity, const std::string &s)=0
Print a message to this log facility, with a given severity.
Definition: DataProvider.hpp:16