a stream's lines into unified logging, beside its other sinks
More...
#include <dx_redirect_log.h>
|
| | log (std::ostream &ostream, const char *id, const char *category=nullptr) |
| | log (std::ostream &ostream, os_log_type_t type, const char *id, const char *category="") |
|
| static constexpr auto | cerr = OS_LOG_TYPE_ERROR |
| static constexpr auto | clog = OS_LOG_TYPE_INFO |
| static constexpr auto | cout = OS_LOG_TYPE_DEFAULT |
|
| std::streamsize | xsputn (const char *data, std::streamsize count) override |
a stream's lines into unified logging, beside its other sinks
https://developer.apple.com/documentation/os/logging/customizing_logging_behavior_while_debugging?language=objc i.e. log show|stream –predicate 'subsystem contains "at.dynax"' log show|stream –predicate 'senderImagePath contains "Test"'
◆ log() [1/2]
| dx::redirect::log::log |
( |
std::ostream & | ostream, |
|
|
const char * | id, |
|
|
const char * | category = nullptr ) |
|
inline |
◆ log() [2/2]
| dx::redirect::log::log |
( |
std::ostream & | ostream, |
|
|
os_log_type_t | type, |
|
|
const char * | id, |
|
|
const char * | category = "" ) |
|
inline |
◆ xsputn()
| std::streamsize dx::redirect::line::xsputn |
( |
const char * | data, |
|
|
std::streamsize | count ) |
|
inlineoverrideprotectedinherited |
◆ cerr
| auto dx::redirect::log::cerr = OS_LOG_TYPE_ERROR |
|
staticconstexpr |
◆ clog
| auto dx::redirect::log::clog = OS_LOG_TYPE_INFO |
|
staticconstexpr |
◆ cout
| auto dx::redirect::log::cout = OS_LOG_TYPE_DEFAULT |
|
staticconstexpr |
The documentation for this class was generated from the following file: