|
Sunshine master
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 |
| RAII helper that runs shutdown cleanup when destroyed. More... | |
| 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> |
| Boost.Log asynchronous text sink used by Sunshine logging. | |
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) |
| Format a Boost.Log record for Sunshine log output. | |
| 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. | |
Variables | |
| boost::log::sources::severity_logger< int > | debug |
| Debug. | |
| boost::log::sources::severity_logger< int > | error |
| Error. | |
| boost::log::sources::severity_logger< int > | fatal |
| Fatal. | |
| boost::log::sources::severity_logger< int > | info |
| Info. | |
| boost::log::sources::severity_logger< int > | verbose |
| Verbose. | |
| boost::log::sources::severity_logger< int > | warning |
| Warning. | |
Declarations for logging related functions.
|
extern |
Debug.
Debug.
|
extern |
Error.
Error.
|
extern |
Fatal.
Fatal.
|
extern |
Info.
Info.
|
extern |
Verbose.
Verbose.
|
extern |
Warning.
Warning.