mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 17:58:20 +00:00
downstream: logger: reuse logger_or_root, dedupe optional-logger-arg pattern
This commit is contained in:
@@ -1074,6 +1074,52 @@ class line_segment:
|
||||
def size(self): ...
|
||||
def swap(self, v): ...
|
||||
|
||||
class log_message:
|
||||
code: Any
|
||||
instance: Any
|
||||
message: Any
|
||||
product: Any
|
||||
severity: Any
|
||||
timestamp: Any
|
||||
|
||||
def __init__(self, *args): ...
|
||||
@property
|
||||
def severity_string(self): ...
|
||||
def to_dict(self): ...
|
||||
def to_tuple(self): ...
|
||||
|
||||
class logger:
|
||||
FMT_PLAIN: Literal[0]
|
||||
FMT_JSON: Literal[1]
|
||||
FMT_INMEMORY: Literal[2]
|
||||
|
||||
LOG_PERF: Literal[0]
|
||||
LOG_DEBUG: Literal[1]
|
||||
LOG_NOTICE: Literal[2]
|
||||
LOG_WARNING: Literal[3]
|
||||
LOG_ERROR: Literal[4]
|
||||
|
||||
@staticmethod
|
||||
def root() -> logger: ...
|
||||
def append(self, other): ...
|
||||
def count(self, code): ...
|
||||
def clear(self): ...
|
||||
def error(self, *args): ...
|
||||
def get_log(self): ...
|
||||
def max_severity(self): ...
|
||||
def message(self, *args): ...
|
||||
def notice(self, *args): ...
|
||||
def output_format(self, *args): ...
|
||||
def print_performance_stats(self): ...
|
||||
def print_performance_stats_on_element(self, *args): ...
|
||||
def progress_bar(self, progress): ...
|
||||
def set_output(self, *args): ...
|
||||
def set_product(self, *args): ...
|
||||
def status(self, message, new_line=True): ...
|
||||
def verbosity(self, *args): ...
|
||||
def warning(self, *args): ...
|
||||
def log_messages(self) -> tuple[log_message, ...]: ...
|
||||
|
||||
class loft:
|
||||
axis: Any
|
||||
def calc_hash(self): ...
|
||||
|
||||
Reference in New Issue
Block a user