linkcheck.logger.text
The default text logger.
Classes
|
A text logger, colorizing the output if possible. |
- class linkcheck.logger.text.TextLogger(**kwargs)[source]
Bases:
_Logger
A text logger, colorizing the output if possible.
Informal text output format spec: Output consists of a set of URL logs separated by one or more blank lines. A URL log consists of two or more lines. Each line consists of keyword and data, separated by whitespace. Unknown keywords will be ignored.
Initialize error counter and optional file output.
- LoggerArgs = {'colorbase': 'purple', 'colordlsize': 'default', 'colordltime': 'default', 'colorinfo': 'default', 'colorinvalid': 'bold;red', 'colorname': 'default', 'colorparent': 'default', 'colorreal': 'cyan', 'colorreset': 'default', 'colorurl': 'default', 'colorvalid': 'bold;green', 'colorwarning': 'bold;yellow', 'filename': 'linkchecker-out.txt', 'wraplength': 65}
- LoggerName = 'text'