Skip to content
This repository has been archived by the owner on Oct 5, 2022. It is now read-only.

Improve Logging Method w/ Google and Bing Images #9

Open
rushilsrivastava opened this issue Mar 11, 2018 · 2 comments
Open

Improve Logging Method w/ Google and Bing Images #9

rushilsrivastava opened this issue Mar 11, 2018 · 2 comments

Comments

@rushilsrivastava
Copy link
Owner

rushilsrivastava commented Mar 11, 2018

I would like to have a standard output method for both Google and Bing images. All help would be appreciated.

@loopyd
Copy link

loopyd commented Mar 21, 2018

Be more specific.

Categorized by level of verbosity or something entirely organized like info.log, error.log ?

I had this functionality in an old commit by switching up the error handler to handle warnings and fatal errors with an applicable logger hook, if this is a thing i can include info and alert in the flags and make my version configurable by command line switch --loglevel

@rushilsrivastava
Copy link
Owner Author

@loopyd Yes, that could be one approach.

At the end of the day, I just want a standard way to log that is consistent between both scrapers and looks "nice". At the current state, the script outputs more than necessary, and a channel system might be more efficient. Anyhow, if you have something, feel free to send a PR.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants