Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
Logarithm::LogManager::LogRotationConfig
Inherits
Struct
<
Value
<
Object
Configuration for log file rotation and retention
Constructors
new
(max_size_mb :
Int32
= 100, rotation_interval :
Logarithm::LogManager::RotationInterval
=
RotationInterval::DAILY
, retention_days :
Int32
= 30, compress_after_days :
Int32
= 7, max_rotations :
Int32
= 10, log_directory :
String
= "/var/log/logarithm")
Source
Instance methods
compress_after_days
Source
log_directory
Source
max_rotations
Source
max_size_mb
Source
retention_days
Source
rotation_interval
Source