refactor(log): remove common.js, use winston and debug

This commit is contained in:
HugoPoi
2019-12-15 17:56:22 +01:00
parent b4a86fcc51
commit bcd181111b
18 changed files with 236 additions and 110 deletions

View File

@ -30,12 +30,6 @@ let browser_config = {
// if random_user_agent is set to True, a random user agent is chosen
random_user_agent: true,
headless: true,
// whether debug information should be printed
// level 0: print nothing
// level 1: print most important info
// ...
// level 4: print all shit nobody wants to know
debug_level: 1,
is_local: false,
throw_on_detection: false,
puppeteer_cluster_config: {