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

[META] Ideas 💡 #5

Open
2 of 9 tasks
moul opened this issue Jun 9, 2021 · 0 comments
Open
2 of 9 tasks

[META] Ideas 💡 #5

moul opened this issue Jun 9, 2021 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@moul
Copy link
Owner

moul commented Jun 9, 2021

  • new API (feat: refactor API (addresses #5) #6), something like below:
    logs := logman.New("path/to/dir")
    err := logs.GC()
    files, err := logs.List()
    err := logs.GCByName("name")
    writer, err := logs.New()
    writer, err := logs.NewWithName("name")
  • add manual GC helpers (full clean etc)
  • support compression
  • support advanced auto-GC rules
  • perform input validation
  • support rotation
  • more tests
  • explain in the readme how the project works
  • add "famous library" integration examples, update the readme, update the project description, post the project on their readme
@moul moul added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels Jun 9, 2021
moul added a commit that referenced this issue Jun 10, 2021
moul-bot pushed a commit that referenced this issue Jun 10, 2021
moul-bot pushed a commit that referenced this issue Jun 10, 2021
Signed-off-by: Manfred Touron <94029+moul@users.noreply.github.com>
moul added a commit that referenced this issue Jun 10, 2021
feat: refactor API (addresses #5)
@moul moul pinned this issue Jun 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant