linkcheck.logger

Output logging support for different formats.

Classes

LogStatistics()

Gather log statistics: - number of errors, warnings and valid links - type of contents (image, video, audio, text, …) - URL lengths

class linkcheck.logger.LogStatistics[source]

Bases: object

Gather log statistics: - number of errors, warnings and valid links - type of contents (image, video, audio, text, …) - URL lengths

Initialize log statistics.

log_internal_error()[source]

Increase internal error count.

log_url(url_data, do_print)[source]

Log URL statistics.

reset()[source]

Reset all log statistics to default values.

Modules

linkcheck.logger.csvlog

A CSV logger.

linkcheck.logger.customxml

An XML logger.

linkcheck.logger.dot

A DOT graph format logger.

linkcheck.logger.failures

A failures logger.

linkcheck.logger.gml

A gml logger.

linkcheck.logger.graph

Base class for graph loggers.

linkcheck.logger.gxml

A GraphXML logger.

linkcheck.logger.html

A HTML logger.

linkcheck.logger.none

A dummy logger.

linkcheck.logger.sitemapxml

A sitemap XML logger.

linkcheck.logger.sql

A SQL logger.

linkcheck.logger.text

The default text logger.

linkcheck.logger.xmllog

Base class for XML loggers.