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

Optimization suggestions #194

Open
cuican6 opened this issue Oct 24, 2023 · 1 comment
Open

Optimization suggestions #194

cuican6 opened this issue Oct 24, 2023 · 1 comment

Comments

@cuican6
Copy link

cuican6 commented Oct 24, 2023

Referring to nlog, when generating logs, they can be dynamically written to different files based on time.

First, when writing to the log, determine the current date and update the date to form a name name in log.FileName. After writing the date, determine whether the current open file is consistent with FileName. If not, open a file with a new name and write it to the log

@cuican6
Copy link
Author

cuican6 commented Oct 24, 2023

image

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

1 participant