• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Delgan / loguru / 165
100%

Build:
DEFAULT BRANCH: master
Ran 04 Mar 2018 07:13PM UTC
Jobs 1
Files 8
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
165

push

travis-ci

Delgan
Refactor rotation/compression/backups routine of FileSink

Before the compression or the rotation, if the future file to be created is undifferentiable of the written file, then this file, after being closed, will be renamed by adding a unique identifier at the end of its name.
The compression takes place before the rotation, or when the logger closes if there is no rotation.
Rotation takes place when the corresponding function is positively evaluated.
The backups management takes place after the rotation or after compression or before closing.

Several elements must be taken into account to explain this choice of methodology:
- If we want the compression to be threaded, we must rename the file before compressing it to avoid potential conflict with the new file
- If we rename an already compressed file, its name will no longer accurately reflect the file it contains
- If we add a suffix to the compressed file, the extension will no longer make sense
- We also have to manage the compression extensions created by the user
- It avoids having to rename hundreds of potentially opened files in other programs or threads, we just rename the current log file once and for all at closing

919 of 919 relevant lines covered (100.0%)

1.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 165.1 04 Mar 2018 07:13PM UTC 0
100.0
Travis Job 165.1
Source Files on build 165
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #165
  • 5e5e0575 on github
  • Prev Build on master (#164)
  • Next Build on master (#168)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc