linkcheck.director.console
Helpers for console output.
Functions
|
Print internal error message (output defaults to stderr). |
|
Print system and application info (output defaults to stderr). |
|
If given environment key is defined, print it out. |
|
Print locale info. |
|
Print proxy info. |
|
Print the program version (output defaults to stdout). |
Classes
|
Standard status logger. |
- class linkcheck.director.console.StatusLogger(fd=<encodings.utf_8.StreamWriter object>)[source]
Bases:
object
Standard status logger. Default output is stderr.
Save file descriptor for logging.
- linkcheck.director.console.internal_error(out=<encodings.utf_8.StreamWriter object>, etype=None, evalue=None, tb=None)[source]
Print internal error message (output defaults to stderr).
- linkcheck.director.console.print_app_info(out=<encodings.utf_8.StreamWriter object>)[source]
Print system and application info (output defaults to stderr).
- linkcheck.director.console.print_env_info(key, out=<encodings.utf_8.StreamWriter object>)[source]
If given environment key is defined, print it out.
- linkcheck.director.console.print_locale_info(out=<encodings.utf_8.StreamWriter object>)[source]
Print locale info.