Simple-Log  alpha-v0.7
sl::log::FileSink< TRecord >::RotationRule Struct Reference

Type for configuring FileSink rotation rules. More...

#include <FileSink.hpp>

Public Attributes

std::optional< std::size_t > fileSize
 
std::optional< std::chrono::seconds > duration
 

Detailed Description

template<Record TRecord>
struct sl::log::FileSink< TRecord >::RotationRule

Type for configuring FileSink rotation rules.

Member Data Documentation

◆ duration

template<Record TRecord>
std::optional<std::chrono::seconds> sl::log::FileSink< TRecord >::RotationRule::duration

◆ fileSize

template<Record TRecord>
std::optional<std::size_t> sl::log::FileSink< TRecord >::RotationRule::fileSize

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