Retail products


Traffic interception SDK

Control every TCP/IP network connection

  • Route connections via proxy
  • Redirect connections and modify the data
  • Block connections and applications
SSL interception SDK

View SSL in plaintext and modify it

  • View the SSL stream decrypted in plaintext
  • Redirect SSL connection and modify decrypted data
  • Browser shows "SSL lock" without warnings

Documentation


CTraceLog Class Reference

#include <TraceLog.h>

Inheritance diagram for CTraceLog:
Collaboration diagram for CTraceLog:

List of all members.


Public Member Functions

bool WriteLog (const std::string &rMessage)
 CTraceLog ()
virtual ~CTraceLog ()
void SetAutoFlush (BOOL bFlush)
BOOL GetAutoFlush () const

Protected Member Functions

virtual void WriteError (const std::string &rError)
virtual void WriteMessage (const std::string &rMessage)

Detailed Description

Definition at line 48 of file TraceLog.h.


Constructor & Destructor Documentation

KOMODIA_NAMESPACE_START CTraceLog::CTraceLog (  ) 

Definition at line 49 of file TraceLog.cpp.

00049                      : CErrorHandler::CErrorLog()
00050 {
00051 }

CTraceLog::~CTraceLog (  )  [virtual]

Definition at line 53 of file TraceLog.cpp.

00054 {
00055 }


Member Function Documentation

BOOL CErrorHandler::CErrorHandler::CErrorLog::GetAutoFlush (  )  const [inherited]

Definition at line 80 of file ErrorHandler.cpp.

00081 {
00082     return m_bAutoFlush;
00083 }

void CErrorHandler::CErrorHandler::CErrorLog::SetAutoFlush ( BOOL  bFlush  )  [inherited]

Definition at line 75 of file ErrorHandler.cpp.

00076 {
00077     m_bAutoFlush=bFlush;
00078 }

void CTraceLog::WriteError ( const std::string &  rError  )  [protected, virtual]

Implements CErrorHandler::CErrorHandler::CErrorLog.

Definition at line 73 of file TraceLog.cpp.

00074 {
00075     WriteLog(rError);
00076 }

bool CTraceLog::WriteLog ( const std::string &  rMessage  ) 

Definition at line 57 of file TraceLog.cpp.

00058 {
00059     try
00060     {
00061 #ifdef _MSC_VER
00062         //Write to log
00063         ATLTRACE("%s\n",rMessage.c_str());
00064 #endif
00065         return true;
00066     }
00067     catch (...)
00068     {
00069         return false;
00070     }
00071 }

void CTraceLog::WriteMessage ( const std::string &  rMessage  )  [protected, virtual]

Implements CErrorHandler::CErrorHandler::CErrorLog.

Definition at line 78 of file TraceLog.cpp.

00079 {
00080     WriteLog(rMessage);
00081 }


The documentation for this class was generated from the following files: