ocssw
V2022
|
Log.hpp
Go to the documentation of this file.
58 // explicit Log(std::vector<std::unique_ptr<LogFacility>> targets) : targets_{std::move(targets)}{}
193 void add(LogSeverity min_severity, LogSeverity max_severity, std::unique_ptr<LogFacility> target){
221 void debug(const std::string& s, const Arguments&... args){ log(LogSeverity::debug, s, args...); }
234 void info(const std::string& s, const Arguments&... args){ log(LogSeverity::info, s, args...); }
247 void notice(const std::string& s, const Arguments&... args){ log(LogSeverity::notice, s, args...); }
260 void warning(const std::string& s, const Arguments&... args){ log(LogSeverity::warning, s, args...); }
273 void error(const std::string& s, const Arguments&... args){ log(LogSeverity::error, s, args...); }
286 void critical(const std::string& s, const Arguments&... args){ log(LogSeverity::critical, s, args...); }
299 void alert(const std::string& s, const Arguments&... args){ log(LogSeverity::alert, s, args...); }
312 void emergency(const std::string& s, const Arguments&... args){ log(LogSeverity::emergency, s, args...); }
326 void warn(const std::string& s, const Arguments&... args){ log(LogSeverity::warn, s, args...); }
352 void crit(const std::string& s, const Arguments&... args){ log(LogSeverity::crit, s, args...); }
365 void emerg(const std::string& s, const Arguments&... args){ log(LogSeverity::emerg, s, args...); }
void add(int min_severity, int max_severity, std::unique_ptr< LogFacility > target)
Add new log facility with given minimum and maximum severities.
Definition: Log.hpp:94
no change in intended resolving MODur00064 Corrected handling of bad ephemeris attitude resolving resolving GSFcd00179 Corrected handling of fill values for[Sensor|Solar][Zenith|Azimuth] resolving MODxl01751 Changed to validate LUT version against a value retrieved from the resolving MODxl02056 Changed to calculate Solar Diffuser angles without adjustment for estimated post launch changes in the MODIS orientation relative to incidentally resolving defects MODxl01766 Also resolves MODxl01947 Changed to ignore fill values in SCI_ABNORM and SCI_STATE rather than treating them as resolving MODxl01780 Changed to use spacecraft ancillary data to recognise when the mirror encoder data is being set by side A or side B and to change calculations accordingly This removes the need for seperate LUTs for Side A and Side B data it makes the new LUTs incompatible with older versions of the and vice versa Also resolves MODxl01685 A more robust GRing algorithm is being which will create a non default GRing anytime there s even a single geolocated pixel in a granule Removed obsolete messages from seed as required for compatibility with version of the SDP toolkit Corrected test output file names to end in out
Definition: HISTORY.txt:422
LogSeverity severity()
Return the default severity (only used for stream operators)
Definition: Log.hpp:378
void critical(const std::string &s, const Arguments &... args)
Log a message with critical severity.
Definition: Log.hpp:286
void log(int severity, const std::string &fmt, const Arguments &... args)
Log a message with a given (numeric) severity, performing i18n in the process.
Definition: Log.hpp:141
void add(LogSeverity min_severity, LogSeverity max_severity, std::unique_ptr< LogFacility > target)
Add new log facility with given minimum and maximum severities.
Definition: Log.hpp:193
void add(LogSeverity min_severity, std::unique_ptr< LogFacility > target)
Add new log facility with a given minimum severity and no maximum.
Definition: Log.hpp:183
void crit(const std::string &s, const Arguments &... args)
Log a message with critical severity.
Definition: Log.hpp:352
void log_raw(int severity, const std::string &s)
Log a message with a given (numeric) severity.
Definition: Log.hpp:106
void add(std::unique_ptr< LogFacility > target)
Add new log facility, using default severity filter (info severity and above)
Definition: Log.hpp:75
void emerg(const std::string &s, const Arguments &... args)
Log a message with emergency severity.
Definition: Log.hpp:365
void alert(const std::string &s, const Arguments &... args)
Log a message with alert severity.
Definition: Log.hpp:299
void warn(const std::string &s, const Arguments &... args)
Log a message with warning severity.
Definition: Log.hpp:326
void log_raw(LogSeverity severity, const std::string &s)
Log a message with a given (numeric) severity.
Definition: Log.hpp:205
void error(const std::string &s, const Arguments &... args)
Log a message with error severity.
Definition: Log.hpp:273
void notice(const std::string &s, const Arguments &... args)
Log a message with notice severity.
Definition: Log.hpp:247
friend Log & operator<<(Log &me, LogSeverity severity)
set the default severity for stream operators
Definition: Log.hpp:388
void emergency(const std::string &s, const Arguments &... args)
Log a message with emergency severity.
Definition: Log.hpp:312
friend Log & operator<<(Log &me, const T &t)
log a non-string object via stream operator, using default log severity
Definition: Log.hpp:418
friend Log & operator<<(Log &me, const std::string &t)
log a message via stream operator, using default log severity
Definition: Log.hpp:402
void add(int min_severity, std::unique_ptr< LogFacility > target)
Add new log facility with a given minimum severity and no maximum.
Definition: Log.hpp:84
void log(int severity, const std::string &s)
Log a message with a given (numeric) severity, performing i18n in the process.
Definition: Log.hpp:120
void info(const std::string &s, const Arguments &... args)
Log a message with info severity.
Definition: Log.hpp:234
void warning(const std::string &s, const Arguments &... args)
Log a message with warning severity.
Definition: Log.hpp:260
void log(LogSeverity severity, const std::string &fmt, const Arguments &... args)
Log a message with a given severity, performing i18n in the process.
Definition: Log.hpp:173
void debug(const std::string &s, const Arguments &... args)
Log a message with debug severity.
Definition: Log.hpp:221
void log(LogSeverity severity, const std::string &s)
Log a message with a given severity.
Definition: Log.hpp:160
void err(const std::string &s, const Arguments &... args)
Log a message with error severity.
Definition: Log.hpp:339
Log(bool default_loggers)
Default constructor, optionally creating default facilities.
Definition: Log.hpp:51
Definition: DataProvider.hpp:16