ocrd.cli.log module¶
OCR-D CLI: Logging
ocrd log¶
Logging
Logger name will be ocrd.OCRD_TOOL_NAME where OCRD_TOOL_NAME is normally (when using bashlib) the name of the processor.
ocrd log [OPTIONS] COMMAND [ARGS]...
Options
- -n, --name <LOGGER_NAME>¶
Name of the logger
- Default:
'log_cli'
Environment variables
- OCRD_TOOL_NAME
Provide a default for
-n
critical¶
Log a CRITICAL message
ocrd log critical [OPTIONS] [MSGS]...
Arguments
- MSGS¶
Optional argument(s)
debug¶
Log a DEBUG message
ocrd log debug [OPTIONS] [MSGS]...
Arguments
- MSGS¶
Optional argument(s)
error¶
Log a ERROR message
ocrd log error [OPTIONS] [MSGS]...
Arguments
- MSGS¶
Optional argument(s)
info¶
Log a INFO message
ocrd log info [OPTIONS] [MSGS]...
Arguments
- MSGS¶
Optional argument(s)
trace¶
Log a TRACE message
ocrd log trace [OPTIONS] [MSGS]...
Arguments
- MSGS¶
Optional argument(s)
warning¶
Log a WARNING message
ocrd log warning [OPTIONS] [MSGS]...
Arguments
- MSGS¶
Optional argument(s)