.oO SearXNG Developer Documentation Oo.
|
Public Member Functions | |
__init__ (self, str filename, str function, int line_no, str code, str exception_classname, str log_message, LogParametersType log_parameters, bool secondary) | |
bool | __eq__ (self, o) |
__hash__ (self) | |
__repr__ (self) |
Public Attributes | |
str | filename = filename |
str | function = function |
int | line_no = line_no |
str | code = code |
str | exception_classname = exception_classname |
str | log_message = log_message |
LogParametersType | log_parameters = log_parameters |
bool | secondary = secondary |
Static Private Attributes | |
tuple | __slots__ |
Definition at line 25 of file error_recorder.py.
searx.metrics.error_recorder.ErrorContext.__init__ | ( | self, | |
str | filename, | ||
str | function, | ||
int | line_no, | ||
str | code, | ||
str | exception_classname, | ||
str | log_message, | ||
LogParametersType | log_parameters, | ||
bool | secondary ) |
Definition at line 38 of file error_recorder.py.
bool searx.metrics.error_recorder.ErrorContext.__eq__ | ( | self, | |
o ) |
Definition at line 58 of file error_recorder.py.
References code, exception_classname, searx.exceptions.SearxSettingsException.filename, filename, function, line_no, log_message, log_parameters, and secondary.
searx.metrics.error_recorder.ErrorContext.__hash__ | ( | self | ) |
Definition at line 72 of file error_recorder.py.
References code, exception_classname, searx.exceptions.SearxSettingsException.filename, filename, function, line_no, log_message, log_parameters, and secondary.
searx.metrics.error_recorder.ErrorContext.__repr__ | ( | self | ) |
Definition at line 86 of file error_recorder.py.
References code, exception_classname, searx.exceptions.SearxSettingsException.filename, filename, line_no, log_message, log_parameters, and secondary.
|
staticprivate |
Definition at line 27 of file error_recorder.py.
searx.metrics.error_recorder.ErrorContext.code = code |
Definition at line 52 of file error_recorder.py.
Referenced by __eq__(), __hash__(), and __repr__().
searx.metrics.error_recorder.ErrorContext.exception_classname = exception_classname |
Definition at line 53 of file error_recorder.py.
Referenced by __eq__(), __hash__(), and __repr__().
searx.metrics.error_recorder.ErrorContext.filename = filename |
Definition at line 49 of file error_recorder.py.
Referenced by __eq__(), __hash__(), searx.result_types.code.Code.__post_init__(), __repr__(), and searx.result_types.code.Code.get_lexer().
searx.metrics.error_recorder.ErrorContext.function = function |
Definition at line 50 of file error_recorder.py.
Referenced by __eq__(), and __hash__().
searx.metrics.error_recorder.ErrorContext.line_no = line_no |
Definition at line 51 of file error_recorder.py.
Referenced by __eq__(), __hash__(), and __repr__().
searx.metrics.error_recorder.ErrorContext.log_message = log_message |
Definition at line 54 of file error_recorder.py.
Referenced by __eq__(), __hash__(), and __repr__().
searx.metrics.error_recorder.ErrorContext.log_parameters = log_parameters |
Definition at line 55 of file error_recorder.py.
Referenced by __eq__(), __hash__(), and __repr__().
searx.metrics.error_recorder.ErrorContext.secondary = secondary |
Definition at line 56 of file error_recorder.py.
Referenced by __eq__(), __hash__(), and __repr__().