ocssw
V2022
|
Log.hpp
Go to the documentation of this file.
63 // explicit Log(std::vector<std::unique_ptr<LogFacility>> targets) : targets_{std::move(targets)}{}
198 void add(LogSeverity min_severity, LogSeverity max_severity, std::unique_ptr<LogFacility> target){
226 void debug(const std::string& s, const Arguments&... args){ log(LogSeverity::debug, s, args...); }
239 void info(const std::string& s, const Arguments&... args){ log(LogSeverity::info, s, args...); }
252 void notice(const std::string& s, const Arguments&... args){ log(LogSeverity::notice, s, args...); }
265 void warning(const std::string& s, const Arguments&... args){ log(LogSeverity::warning, s, args...); }
278 void error(const std::string& s, const Arguments&... args){ log(LogSeverity::error, s, args...); }
291 void critical(const std::string& s, const Arguments&... args){ log(LogSeverity::critical, s, args...); }
304 void alert(const std::string& s, const Arguments&... args){ log(LogSeverity::alert, s, args...); }
317 void emergency(const std::string& s, const Arguments&... args){ log(LogSeverity::emergency, s, args...); }
331 void warn(const std::string& s, const Arguments&... args){ log(LogSeverity::warn, s, args...); }
357 void crit(const std::string& s, const Arguments&... args){ log(LogSeverity::crit, s, args...); }
370 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:99
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:383
void critical(const std::string &s, const Arguments &... args)
Log a message with critical severity.
Definition: Log.hpp:291
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:146
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:198
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:188
void crit(const std::string &s, const Arguments &... args)
Log a message with critical severity.
Definition: Log.hpp:357
void log_raw(int severity, const std::string &s)
Log a message with a given (numeric) severity.
Definition: Log.hpp:111
void add(std::unique_ptr< LogFacility > target)
Add new log facility, using default severity filter (info severity and above)
Definition: Log.hpp:80
void emerg(const std::string &s, const Arguments &... args)
Log a message with emergency severity.
Definition: Log.hpp:370
void alert(const std::string &s, const Arguments &... args)
Log a message with alert severity.
Definition: Log.hpp:304
void warn(const std::string &s, const Arguments &... args)
Log a message with warning severity.
Definition: Log.hpp:331
void log_raw(LogSeverity severity, const std::string &s)
Log a message with a given (numeric) severity.
Definition: Log.hpp:210
void error(const std::string &s, const Arguments &... args)
Log a message with error severity.
Definition: Log.hpp:278
void notice(const std::string &s, const Arguments &... args)
Log a message with notice severity.
Definition: Log.hpp:252
friend Log & operator<<(Log &me, LogSeverity severity)
set the default severity for stream operators
Definition: Log.hpp:393
void emergency(const std::string &s, const Arguments &... args)
Log a message with emergency severity.
Definition: Log.hpp:317
friend Log & operator<<(Log &me, const T &t)
log a non-string object via stream operator, using default log severity
Definition: Log.hpp:423
friend Log & operator<<(Log &me, const std::string &t)
log a message via stream operator, using default log severity
Definition: Log.hpp:407
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:89
void log(int severity, const std::string &s)
Log a message with a given (numeric) severity, performing i18n in the process.
Definition: Log.hpp:125
void info(const std::string &s, const Arguments &... args)
Log a message with info severity.
Definition: Log.hpp:239
void warning(const std::string &s, const Arguments &... args)
Log a message with warning severity.
Definition: Log.hpp:265
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:178
void debug(const std::string &s, const Arguments &... args)
Log a message with debug severity.
Definition: Log.hpp:226
void log(LogSeverity severity, const std::string &s)
Log a message with a given severity.
Definition: Log.hpp:165
void err(const std::string &s, const Arguments &... args)
Log a message with error severity.
Definition: Log.hpp:344
Log(bool default_loggers)
Default constructor, optionally creating default facilities.
Definition: Log.hpp:56
Definition: DataProvider.hpp:16