camilwojcik/logs-cleanup 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

camilwojcik/logs-cleanup

Composer 安装命令:

composer require camilwojcik/logs-cleanup

包简介

Simple package with class that clears logs older than given date (in text format). Recomended use in your Cron.php file.

README 文档

README

Simple package with class that clears logs older than given date (in text format). Recomended use in your Cron.php file.

Task description:

Given:

  • We have an app that stores different types of informations in logs
  • These logs can be stored in a database or text file depending on our needs
  • For this task please focus on one implementation having in mind that other option is also viable

Task:

  • Make a small program that will be analysing logs and removing records older than given time period
  • We should be able to use this program as a composer dependency
  • Prepare a test that will demonstrate how your program works

Remarks:

  • This program does not have to be 100% finished or give us all concrete implementations
  • All tests should run and pass green

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-07-26