The C++ framework for developing highly scalable, high performance servers on Windows platforms.

RotatingAsyncFileLog.cpp File Reference


Namespaces

namespace  JetByteTools
namespace  JetByteTools::IO

Typedefs

typedef
TExpandableBuffer
< Data
LogData

Functions

static _tstring ProcessFileNameBase (const _tstring &fileNameBase)
static __int64 GetPreviousTime (const CSystemTime &now, CRotatingAsyncFileLog::RotationPeriod rotationPeriod)
static __int64 GetNextTime (const CSystemTime &now, CRotatingAsyncFileLog::RotationPeriod rotationPeriod)
static const _tstring s_logExtension (_T(".log"))

Variables

static const
CLocalTimeProvider 
s_timeProvider
static const Data s_lineEnd (reinterpret_cast< const BYTE * >("\r\n"), 2)
static
JETBYTE_CONSTEXPR
__int64 
s_intervalsInAnHour = 1000 * 60 * 60 * CSystemTime::IntervalsInAMillisecond
static
JETBYTE_CONSTEXPR
__int64 
s_intervalsInADay = s_intervalsInAnHour * 24
static
JETBYTE_CONSTEXPR
__int64 
s_intervalsInAWeek = s_intervalsInADay * 7


Generated on Sun Sep 12 19:06:44 2021 for The Server Framework - v7.4 by doxygen 1.5.3