updated logs code comments

This commit is contained in:
Gani Georgiev
2025-02-11 00:38:22 +02:00
parent f1d44c7847
commit 5c41938cb9
3 changed files with 3391 additions and 3391 deletions

View File

@@ -323,10 +323,10 @@ type App interface {
// FindLogById finds a single Log entry by its id.
FindLogById(id string) (*Log, error)
// LogsStatsItem defines the total number of logs for a specific time period.
// LogsStatsItem returns hourly grouped logs statistics.
LogsStats(expr dbx.Expression) ([]*LogsStatsItem, error)
// DeleteOldLogs delete all requests that are created before createdBefore.
// DeleteOldLogs delete all logs that are created before createdBefore.
DeleteOldLogs(createdBefore time.Time) error
// ---------------------------------------------------------------