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