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

Is it possible to provide an example of logging out to a file in the documentation #56

Open
laterdayi opened this issue Feb 1, 2024 · 5 comments
Labels
awaiting pull request Pull request is desired or expected documentation Improvements or additions to documentation

Comments

@laterdayi
Copy link

laterdayi commented Feb 1, 2024

Is it possible to provide an example of logging out to a file in the documentation

Output logs into a txt file named log-2024-2-1.txt and log-2024-2-2.txt according to the date

@Bungeefan
Copy link
Member

Hi, yeah sure, good idea, unfortunately I am currently kind of busy, so it could take some time until I get to that.
Nevertheless, it is always possible to submit a PR for this!

@Bungeefan Bungeefan added documentation Improvements or additions to documentation awaiting pull request Pull request is desired or expected labels Feb 12, 2024
@9clg6
Copy link

9clg6 commented May 12, 2024

https://github.com/9clg6/discord_backup_bot/blob/master/bin/utils/logger.util.dart

@maelchiotti
Copy link

Just wanted to say that the "Possible future LogOutputs could send to a file" line in the README made me think initially that this wasn't yet implemented, while it was a requirement for me. It's a chance I ended up deciding I would do it myself, just to discover that FileOutput and AdvancedFileOutput do exist and work very well.

At least updating that line would be great, although I understand you might not have the time to write a complete example.

@Bungeefan
Copy link
Member

@maelchiotti Thanks for the notice, I was actually not aware of this line.
I fixed it in v2.5.0.

@zyq9613

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting pull request Pull request is desired or expected documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

5 participants