mirror of
https://github.com/tnypxl/rollup.git
synced 2025-12-15 15:03:17 +00:00
feat: add logger setup in web command
This commit is contained in:
@@ -39,6 +39,7 @@ func init() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func runWeb(cmd *cobra.Command, args []string) error {
|
func runWeb(cmd *cobra.Command, args []string) error {
|
||||||
|
scraper.SetupLogger(verbose)
|
||||||
log.Printf("Starting web scraping process with verbose mode: %v", verbose)
|
log.Printf("Starting web scraping process with verbose mode: %v", verbose)
|
||||||
scraperConfig.Verbose = verbose
|
scraperConfig.Verbose = verbose
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user