LogFileRotationPolicy.sized constructor

const LogFileRotationPolicy.sized(
  1. int maxSizeInBytes
)

LogFileRotationPolicy.sized creates a size based rotation policy.

FileHandler with the policy will rotate a logging file when its size exceeds maxSizeInBytes.

Implementation

const factory LogFileRotationPolicy.sized(int maxSizeInBytes) =
    _SizedLogFileRotationPolicy;