// This file is part of the EonaCat project(s) which is released under the Apache License.
// See the LICENSE file or go to https://EonaCat.com/License for full license details.

namespace EonaCat.LogStack.EonaCatLogStackCore
{
    public struct LogStats
    {
        public long Written;
        public long Dropped;
        public long Rotations;
        public long BytesWritten;
        public double WritesPerSecond;

        public LogStats(long written, long dropped, long rotations, long bytesWritten, double writesPerSecond)
        {
            Written = written;
            Dropped = dropped;
            Rotations = rotations;
            BytesWritten = bytesWritten;
            WritesPerSecond = writesPerSecond;
        }
    }
}