All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.com.caesarealabs.loggy.shared.DailyLogStat.kt Maven / Gradle / Ivy

The newest version!
package com.caesarealabs.loggy.shared

import kotlinx.datetime.LocalDate
import kotlinx.serialization.Contextual

/**
 * A break of how many calls of each type occurred in [date]
 */
data class DailyLogStat(
    /**
     * Use date based serialization on mongo
     */
    @Contextual
    val date: LocalDate,
    /**
     * How many calls completed successfully with no errors or warnings
     */
    val infoCount: Int,
    /**
     * How many calls completed with no errors but with warnings
     */
    val warningCount: Int,
    /**
     * How many calls errored
     */
    val errorCount: Int
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy