Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PR for https://github.com/danieleteti/loggerpro/issues/92 #93

Open
wants to merge 3 commits into
base: v2.0
Choose a base branch
from

Conversation

fastbike
Copy link
Contributor

@fastbike fastbike commented Aug 6, 2024

PR for refactoring for Issue #92

Re factored file rotation:

  • moved functionality into own helper object with base interface to define behaviour
  • provide two concrete implementations:
    • Rotate by file count
    • Rotate by file date
  • Tidied up the LogFileFormat checks to use an enumeration
  • Moved file maintenance methods (Delete / Rename) to the helper objects

Merge Changes from head repository
Re factored file rotation:
- moved functionality into own helper object with base interface to define behaviour
- provide two concrete implementations:
  - Rotate by file count
  - Rotate by file date
- Tidied up the LogFileFormat checks to use an enumeration
- Moved file maintenance methods (Delete / Rename) to the  helper objects
@fastbike fastbike marked this pull request as ready for review August 6, 2024 02:46
@fastbike
Copy link
Contributor Author

Added code to address the issue mentioned in #47

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant