MCPcopy Create free account
hub / github.com/docling-project/docling-parse / __init__

Method __init__

docling_parse/pdf_parser.py:955–963  ·  view source on GitHub ↗

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")

Source from the content-addressed store, hash-verified

953
954class 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.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected