Set the log level using a string label. Parameters: level (str): Logging level as a string. One of ['fatal', 'error', 'warning', 'info']
(self, loglevel: str = "fatal")
| 953 | |
| 954 | class DoclingPdfParser: |
| 955 | def __init__(self, loglevel: str = "fatal"): |
| 956 | """ |
| 957 | Set the log level using a string label. |
| 958 | |
| 959 | Parameters: |
| 960 | level (str): Logging level as a string. |
| 961 | One of ['fatal', 'error', 'warning', 'info'] |
| 962 | """ |
| 963 | self.parser = pdf_parser(level=loglevel) |
| 964 | |
| 965 | def set_loglevel(self, loglevel: str): |
| 966 | """Set the log level using a string label. |
nothing calls this directly
no outgoing calls
no test coverage detected