docs(doxygen): enforce warn if undocumented (#5337)
This commit is contained in:
@@ -35,16 +35,16 @@ using namespace std::literals;
|
||||
|
||||
namespace bl = boost::log;
|
||||
|
||||
boost::shared_ptr<boost::log::sinks::asynchronous_sink<boost::log::sinks::text_ostream_backend>> sink;
|
||||
boost::shared_ptr<boost::log::sinks::asynchronous_sink<boost::log::sinks::text_ostream_backend>> sink; ///< Sink.
|
||||
|
||||
bl::sources::severity_logger<int> verbose(0); // Dominating output
|
||||
bl::sources::severity_logger<int> debug(1); // Follow what is happening
|
||||
bl::sources::severity_logger<int> info(2); // Should be informed about
|
||||
bl::sources::severity_logger<int> warning(3); // Strange events
|
||||
bl::sources::severity_logger<int> error(4); // Recoverable errors
|
||||
bl::sources::severity_logger<int> fatal(5); // Unrecoverable errors
|
||||
bl::sources::severity_logger<int> verbose {0}; ///< Dominating output.
|
||||
bl::sources::severity_logger<int> debug {1}; ///< Follow what is happening.
|
||||
bl::sources::severity_logger<int> info {2}; ///< Should be informed about.
|
||||
bl::sources::severity_logger<int> warning {3}; ///< Strange events.
|
||||
bl::sources::severity_logger<int> error {4}; ///< Recoverable errors.
|
||||
bl::sources::severity_logger<int> fatal {5}; ///< Unrecoverable errors.
|
||||
#ifdef SUNSHINE_TESTS
|
||||
bl::sources::severity_logger<int> tests(10); // Automatic tests output
|
||||
bl::sources::severity_logger<int> tests {10}; ///< Automatic tests output.
|
||||
#endif
|
||||
|
||||
BOOST_LOG_ATTRIBUTE_KEYWORD(severity, "Severity", int)
|
||||
@@ -60,6 +60,9 @@ namespace logging {
|
||||
sink.reset();
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Format a Boost.Log record for Sunshine log output.
|
||||
*/
|
||||
void formatter(const boost::log::record_view &view, boost::log::formatting_ostream &os) {
|
||||
constexpr const char *message = "Message";
|
||||
constexpr const char *severity = "Severity";
|
||||
|
||||
Reference in New Issue
Block a user