Logs information to Tizen NaCl's logging system.
This log policy logs log information so that it can be viewed on Tizen NaCl devices.
#include <logging/YiTizenNaClLogPolicy.h>

Public Member Functions | |
| CYITizenNaClLogPolicy () | |
| virtual | ~CYITizenNaClLogPolicy () |
| 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 |
Static Public Member Functions | |
| static void | SetWriteToJavascriptWindow (bool bEnabled) |
| static bool | IsWritingToJavascriptWindow () |
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 |
| CYITizenNaClLogPolicy::CYITizenNaClLogPolicy | ( | ) |
|
virtual |
|
virtual |
Close does nothing on Tizen NaCl.
Implements CYILogPolicy.
|
virtual |
Always returns true for Tizen NaCl logging.
Implements CYILogPolicy.
|
static |
Returns true if writing to the Javascript log window is currently enabled.
|
virtual |
Open does nothing on Tizen NaCl.
Implements CYILogPolicy.
|
static |
Enables writing to the Javascript log window. Initially, Tizen log policy instances do not write through to the Javascript log window to avoid taking a performance hit. When the Javascript log window is first displayed, writing to the window is enabled.
Users may call this function at app init time to ensure that all log messages are recorded in the Javascript log window. However this may have an adverse effect on performance.