Skip to content

The feature to automatically split log files based on policy? #134

Description

@myConsciousness

Hi amazing developers,

This package is great, but the file output specifications seem a bit weak. What is needed, especially when it comes to file output, is the ability to create a separate file and move the write destination when a certain number of lines or size is reached.

This split policy is then supposed to be passed by the user in the form of a Configuration object.

It is not possible with the current specification to pass the file object directly to the constructor, but I think it is feasible enough to add a constructor with a name like fromConfig.

Or does this idea not fit the design philosophy of this package?

Thank you.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions