![]() |
Sunshine v2025.628.4510
Self-hosted game stream host for Moonlight.
|
Declarations for logging related functions. More...
#include <boost/log/common.hpp>#include <boost/log/sinks.hpp>#include "config.h"#include "stat_trackers.h"Go to the source code of this file.
Classes | |
| class | logging::deinit_t |
| class | logging::min_max_avg_periodic_logger< T > |
| A helper class for tracking and logging numerical values across a period of time. More... | |
| class | logging::time_delta_periodic_logger |
| A helper class for tracking and logging short time intervals across a period of time. More... | |
Namespaces | |
| namespace | logging |
| Handles the initialization and deinitialization of the logging system. | |
Typedefs | |
| using | text_sink = boost::log::sinks::asynchronous_sink<boost::log::sinks::text_ostream_backend> |
Functions | |
| std::string | logging::bracket (const std::string &input) |
| Enclose string in square brackets. | |
| std::wstring | logging::bracket (const std::wstring &input) |
| Enclose string in square brackets. | |
| void | logging::deinit () |
| Deinitialize the logging system. | |
| void | logging::formatter (const boost::log::record_view &view, boost::log::formatting_ostream &os) |
| std::unique_ptr< deinit_t > | logging::init (int min_log_level, const std::string &log_file) |
| Initialize the logging system. | |
| void | logging::log_flush () |
| Flush the log. | |
| void | logging::print_help (const char *name) |
| Print help to stdout. | |
| void | logging::setup_av_logging (int min_log_level) |
| Setup AV logging. | |
| void | logging::setup_libdisplaydevice_logging (int min_log_level) |
| Setup logging for libdisplaydevice. | |
Declarations for logging related functions.