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

Implement CrawlerLogger, a logger that controls every logging related to the crawler #28

Closed
peterbencze opened this issue Sep 2, 2016 · 0 comments
Assignees
Labels

Comments

@peterbencze
Copy link
Owner

peterbencze commented Sep 2, 2016

Logging should be toggleable in the configuration by setting debug mode to true. This makes the crawler to print debug messages to the console. By specifying an optional argument (logFilePath), this output should also be written to the specified file.
If debug mode is set to false, no output should appear in the console.

Example:
config.setDebugMode(true);
config.setDebugMode(true, "/path/to/file");

@peterbencze peterbencze assigned peterbencze and kmozsi and unassigned peterbencze Sep 2, 2016
peterbencze pushed a commit that referenced this issue Sep 6, 2016
kmozsi added a commit that referenced this issue Sep 6, 2016
@kmozsi kmozsi closed this as completed Sep 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants