LogIt++
Header-only, macro-first C++ logging library
Loading...
Searching...
No Matches
logit::LogClearResult Struct Reference

Result returned by logger cleanup operations. More...

#include <ILogger.hpp>

Public Attributes

bool ok = false
 True when the backend completed cleanup.
 
LogClearStatus status = LogClearStatus::Failed
 Detailed cleanup status.
 
std::size_t cleared_records = 0
 Number of primary records/files cleared when available.
 
std::string message
 Optional diagnostic or unsupported reason.
 

Detailed Description

Result returned by logger cleanup operations.

Definition at line 35 of file ILogger.hpp.

Member Data Documentation

◆ cleared_records

std::size_t logit::LogClearResult::cleared_records = 0

Number of primary records/files cleared when available.

Definition at line 38 of file ILogger.hpp.

◆ message

std::string logit::LogClearResult::message

Optional diagnostic or unsupported reason.

Definition at line 39 of file ILogger.hpp.

◆ ok

bool logit::LogClearResult::ok = false

True when the backend completed cleanup.

Definition at line 36 of file ILogger.hpp.

◆ status

LogClearStatus logit::LogClearResult::status = LogClearStatus::Failed

Detailed cleanup status.

Definition at line 37 of file ILogger.hpp.


The documentation for this struct was generated from the following file: