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

Basic Log to File #6

Closed

Conversation

hoppermeister
Copy link

@hoppermeister hoppermeister commented Jan 22, 2024

This is a basic implementation of logging of the OCR output to a specified text file. It could be made a lot more robust, but this unblocks a lot of possible external integrations.

TODOS this doesn't do yet but should:

  • Test that the given file location is valid before accepting it/creating it
  • Include a timestamp, with options for modifying the separator (this could possibly be included in the templating feature)
  • Implement a maximum log file size and line count option
  • Option for different writing the log at a different timer frequency than the main OCR poll

Built and tested on Windows only so far

@royshil
Copy link
Contributor

royshil commented Jan 25, 2024

@hoppermeister great work! let's get the basics in there and buiding and I can pick up the rest...

@royshil royshil modified the milestones: 0.4.0, 0.0.4 Jan 27, 2024
@royshil
Copy link
Contributor

royshil commented Jan 29, 2024

closing this as ive implemented in #9

@royshil royshil closed this Jan 29, 2024
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

Successfully merging this pull request may close these issues.

None yet

2 participants