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

Consider organising DailyLogger log files by directory #5

Open
spacemud opened this issue Mar 11, 2017 · 1 comment
Open

Consider organising DailyLogger log files by directory #5

spacemud opened this issue Mar 11, 2017 · 1 comment

Comments

@spacemud
Copy link
Contributor

As it stands log files created by DailyLogger are just placed in whatever directory you specify. This is fine, but after a while I imagine a lot of files would accumulate if you have several loggers and the folder might start to get messy.

Having DailyLogger create a separate folder for each day to contain the log files would be a lot neater.

@philip1337
Copy link
Owner

philip1337 commented Mar 14, 2017

SPDLog does not have implemented a feature like that.
So we could need to create a own logger that supports that using three arguments:

  • path
  • filename
  • dateformat

spdlog has this possibility to register own loggers.
I will implement that soon.

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

No branches or pull requests

2 participants