![]() |
Sunshine latest
Self-hosted game stream host for Moonlight.
|
Definitions for logging related functions. More...
#include <fstream>
#include <iomanip>
#include <iostream>
#include <boost/core/null_deleter.hpp>
#include <boost/format.hpp>
#include <boost/log/attributes/clock.hpp>
#include <boost/log/common.hpp>
#include <boost/log/expressions.hpp>
#include <boost/log/sinks.hpp>
#include <boost/log/sources/severity_logger.hpp>
#include <display_device/logging.h>
#include "logging.h"
#include <libavutil/log.h>
Namespaces | |
namespace | logging |
Handles the initialization and deinitialization of the logging system. | |
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. | |
bl::sources::severity_logger< int > | debug (1) |
void | logging::deinit () |
Deinitialize the logging system. | |
bl::sources::severity_logger< int > | error (4) |
bl::sources::severity_logger< int > | fatal (5) |
void | logging::formatter (const boost::log::record_view &view, boost::log::formatting_ostream &os) |
bl::sources::severity_logger< int > | info (2) |
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. | |
bl::sources::severity_logger< int > | verbose (0) |
bl::sources::severity_logger< int > | warning (3) |
Variables | |
boost::shared_ptr< boost::log::sinks::asynchronous_sink< boost::log::sinks::text_ostream_backend > > | sink |
Definitions for logging related functions.