You.i Engine
YiTizenNaClLogPolicy.h
Go to the documentation of this file.
1 // © You i Labs Inc. 2000-2017. All rights reserved.
2 #ifndef _YI_TIZEN_NACL_LOG_POLICY_
3 #define _YI_TIZEN_NACL_LOG_POLICY_
4 
5 #include "logging/YiLogPolicy.h"
6 #include "utility/YiString.h"
7 
19 {
20 public:
22  virtual ~CYITizenNaClLogPolicy();
23 
27  void Open();
28 
32  void Close();
33 
37  bool IsOpen() const;
38 
46  static void SetWriteToJavascriptWindow(bool bEnabled);
47 
53  static bool IsWritingToJavascriptWindow();
54 
55 private:
60  : CYILogPolicy()
61  {
62  YI_UNUSED(policy);
63  }
64 
68  CYITizenNaClLogPolicy & operator=(const CYITizenNaClLogPolicy &policy)
69  {
70  YI_UNUSED(policy);
71  return *this;
72  }
73 
77  void _Write(const YI_LOGGING_PARAMS &loggingParams);
78 
79 
83  void _WriteDirect(const YI_LOGGING_PARAMS &loggingParams);
84 };
85 
88 #endif
Logs information to Tizen NaCl's logging system.
Definition: YiTizenNaClLogPolicy.h:18
bool IsOpen() const
Data type to hold various bits of information for logging.
Definition: YiLoggerCommon.h:67
static void SetWriteToJavascriptWindow(bool bEnabled)
#define YI_UNUSED(param)
Definition: YiPredef.h:85
Definition: YiLogPolicy.h:78
static bool IsWritingToJavascriptWindow()
virtual ~CYITizenNaClLogPolicy()