linkcheck.logger.html

A HTML logger.

Classes

HtmlLogger(**kwargs)

Logger with HTML output.

class linkcheck.logger.html.HtmlLogger(**kwargs)[source]

Bases: _Logger

Logger with HTML output.

Initialize default HTML color values.

comment(s, **args)[source]

Write HTML comment.

end_output(**kwargs)[source]

Write end of checking info as HTML.

log_url(url_data)[source]

Write url checking info as HTML.

part(name)[source]

Return non-space-breakable part name.

start_output()[source]

Write start of checking info.

write_base(url_data)[source]

Write url_data.base_ref.

write_checktime(url_data)[source]

Write url_data.checktime.

write_dltime(url_data)[source]

Write url_data.dltime.

write_id()[source]

Write ID for current URL.

write_info(url_data)[source]

Write url_data.info.

write_modified(url_data)[source]

Write url_data.modified.

write_name(url_data)[source]

Write url_data.name.

write_outro()[source]

Write end of check message.

write_parent(url_data)[source]

Write url_data.parent_url.

write_real(url_data)[source]

Write url_data.url.

write_result(url_data)[source]

Write url_data.result.

write_size(url_data)[source]

Write url_data.size.

write_stats()[source]

Write check statistic infos.

write_table_end()[source]

End html table.

write_table_start()[source]

Start html table.

write_url(url_data)[source]

Write url_data.base_url.

write_warning(url_data)[source]

Write url_data.warnings.

LoggerArgs = {'colorbackground': '#fff7e5', 'colorborder': '#000000', 'colorerror': '#db4930', 'colorlink': '#191c83', 'colorok': '#3ba557', 'colorurl': '#dcd5cf', 'colorwarning': '#e0954e', 'filename': 'linkchecker-out.html'}
LoggerName = 'html'