Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
CPosixInterfaceForCLog Class Reference

#include <PosixInterfaceForCLog.h>

Public Member Functions

 CPosixInterfaceForCLog ()
 
 ~CPosixInterfaceForCLog ()
 
bool OpenLogFile (const std::string &logFilename, const std::string &backupOldLogToFilename)
 
void CloseLogFile (void)
 
bool WriteStringToLog (const std::string &logString)
 
void PrintDebugString (const std::string &debugString)
 

Static Public Member Functions

static void GetCurrentLocalTime (int &year, int &month, int &day, int &hour, int &minute, int &second, double &millisecond)
 

Constructor & Destructor Documentation

◆ CPosixInterfaceForCLog()

CPosixInterfaceForCLog::CPosixInterfaceForCLog ( )

◆ ~CPosixInterfaceForCLog()

CPosixInterfaceForCLog::~CPosixInterfaceForCLog ( )

Member Function Documentation

◆ CloseLogFile()

void CPosixInterfaceForCLog::CloseLogFile ( void  )

◆ GetCurrentLocalTime()

void CPosixInterfaceForCLog::GetCurrentLocalTime ( int &  year,
int &  month,
int &  day,
int &  hour,
int &  minute,
int &  second,
double &  millisecond 
)
static

◆ OpenLogFile()

bool CPosixInterfaceForCLog::OpenLogFile ( const std::string &  logFilename,
const std::string &  backupOldLogToFilename 
)

◆ PrintDebugString()

void CPosixInterfaceForCLog::PrintDebugString ( const std::string &  debugString)

◆ WriteStringToLog()

bool CPosixInterfaceForCLog::WriteStringToLog ( const std::string &  logString)

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