//--------------------------------------------------------------------------- TSessionLog::~TSessionLog() { FClosed = true; ReflectSettings(); assert(FFile == nullptr); delete FCriticalSection; }
//--------------------------------------------------------------------------- void TActionLog::SetEnabled(bool Value) { if (GetEnabled() != Value) { FEnabled = Value; ReflectSettings(); } }
TActionLog::~TActionLog() { DebugAssert(FPendingActions->GetCount() == 0); SAFE_DESTROY(FPendingActions); FClosed = true; ReflectSettings(); DebugAssert(FLogger == nullptr); }
//--------------------------------------------------------------------------- TActionLog::~TActionLog() { assert(FPendingActions->GetCount() == 0); delete FPendingActions; FClosed = true; ReflectSettings(); assert(FFile == nullptr); delete FCriticalSection; }
TSessionLog::~TSessionLog() { FClosed = true; ReflectSettings(); DebugAssert(FLogger == nullptr); }
TActionLog::TActionLog(TDateTime Started, TConfiguration *Configuration) { Init(nullptr, Started, nullptr, Configuration); // not associated with session, so no need to waiting for anything ReflectSettings(); }