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

csvlog

A CSV logger.

customxml

An XML logger.

dot

A DOT graph format logger.

failures

A failures logger.

gml

A gml logger.

graph

Base class for graph loggers.

gxml

A GraphXML logger.

html

A HTML logger.

none

A dummy logger.

sitemapxml

A sitemap XML logger.

sql

A SQL logger.

text

The default text logger.

xmllog

Base class for XML loggers.