Logs information to Apple OS's logging system.
The Apple OS logging system is used to emit all error information from the logger.
#include <logging/YiAppleLogPolicy.h>

Public Member Functions | |
| CYIAppleLogPolicy () | |
| virtual | ~CYIAppleLogPolicy () |
| void | Open () |
| void | Close () |
| bool | IsOpen () const |
Public Member Functions inherited from CYILogPolicy | |
| CYILogPolicy () | |
| virtual | ~CYILogPolicy () |
| void | PostWrite (YI_LOGGING_PARAMS &loggingParams) |
| void | SetPreferences (const std::shared_ptr< CYIPreferences > &pPrefs) |
| const std::shared_ptr< CYIPreferences > & | GetPreferences () const |
| void | UpdateConfigMonitor () const |
| void | SetWriteDirectEnabled (bool bEnabled) |
| bool | IsWriteDirectEnabled () const |
| void | SetUseLinesCache (bool bUseLinesCache) |
| std::vector< CYIString > | GetLastLoggedLines (uint32_t uLinesCount=std::numeric_limits< uint32_t >::max()) const |
Additional Inherited Members | |
Protected Member Functions inherited from CYILogPolicy | |
| void | EnableTimeStamp () |
| void | EnableClassName () |
| void | EnableLineNumber () |
| void | EnableSeverity () |
| void | EnableTagName () |
| void | DisableTimeStamp () |
| void | DisableClassName () |
| void | DisableLineNumber () |
| void | DisableSeverity () |
| void | DisableTagName () |
| virtual CYIString | BuildLogStatement (const CYIString &logStatement, const YI_LOGGING_PARAMS ¶ms) |
Protected Attributes inherited from CYILogPolicy | |
| CYIConcurrentQueue< YI_LOGGING_PARAMS > | m_logQueue |
| uint32_t | m_uAttributeCache |
| CYIAppleLogPolicy::CYIAppleLogPolicy | ( | ) |
Default constructor.
|
virtual |
Destructor.
|
virtual |
Does nothing for the console policy.
Implements CYILogPolicy.
|
virtual |
Always returns true for the console policy.
Implements CYILogPolicy.
|
virtual |
Does nothing for the console policy.
Implements CYILogPolicy.