.oO SearXNG Developer Documentation Oo.
|
Public Member Functions | |
__init__ (self, filename, function, line_no, code, exception_classname, log_message, log_parameters, secondary) | |
bool | __eq__ (self, o) |
__hash__ (self) | |
__repr__ (self) | |
Public Attributes | |
filename = filename | |
function = function | |
line_no = line_no | |
code = code | |
exception_classname = exception_classname | |
log_message = log_message | |
log_parameters = log_parameters | |
secondary = secondary | |
Static Private Attributes | |
tuple | __slots__ |
Definition at line 22 of file error_recorder.py.
searx.metrics.error_recorder.ErrorContext.__init__ | ( | self, | |
filename, | |||
function, | |||
line_no, | |||
code, | |||
exception_classname, | |||
log_message, | |||
log_parameters, | |||
secondary ) |
Definition at line 35 of file error_recorder.py.
bool searx.metrics.error_recorder.ErrorContext.__eq__ | ( | self, | |
o ) |
Definition at line 47 of file error_recorder.py.
References searx.metrics.error_recorder.ErrorContext.code, searx.metrics.error_recorder.ErrorContext.exception_classname, searx.exceptions.SearxSettingsException.filename, searx.metrics.error_recorder.ErrorContext.filename, searx.metrics.error_recorder.ErrorContext.function, searx.metrics.error_recorder.ErrorContext.line_no, searx.metrics.error_recorder.ErrorContext.log_message, searx.metrics.error_recorder.ErrorContext.log_parameters, and searx.metrics.error_recorder.ErrorContext.secondary.
searx.metrics.error_recorder.ErrorContext.__hash__ | ( | self | ) |
Definition at line 61 of file error_recorder.py.
References searx.metrics.error_recorder.ErrorContext.code, searx.metrics.error_recorder.ErrorContext.exception_classname, searx.exceptions.SearxSettingsException.filename, searx.metrics.error_recorder.ErrorContext.filename, searx.metrics.error_recorder.ErrorContext.function, searx.metrics.error_recorder.ErrorContext.line_no, searx.metrics.error_recorder.ErrorContext.log_message, searx.metrics.error_recorder.ErrorContext.log_parameters, and searx.metrics.error_recorder.ErrorContext.secondary.
searx.metrics.error_recorder.ErrorContext.__repr__ | ( | self | ) |
Definition at line 75 of file error_recorder.py.
References searx.metrics.error_recorder.ErrorContext.code, searx.metrics.error_recorder.ErrorContext.exception_classname, searx.exceptions.SearxSettingsException.filename, searx.metrics.error_recorder.ErrorContext.filename, searx.format, searx.metrics.error_recorder.ErrorContext.line_no, searx.metrics.error_recorder.ErrorContext.log_message, searx.metrics.error_recorder.ErrorContext.log_parameters, and searx.metrics.error_recorder.ErrorContext.secondary.
|
staticprivate |
Definition at line 24 of file error_recorder.py.
searx.metrics.error_recorder.ErrorContext.code = code |
Definition at line 41 of file error_recorder.py.
Referenced by searx.metrics.error_recorder.ErrorContext.__eq__(), searx.metrics.error_recorder.ErrorContext.__hash__(), and searx.metrics.error_recorder.ErrorContext.__repr__().
searx.metrics.error_recorder.ErrorContext.exception_classname = exception_classname |
Definition at line 42 of file error_recorder.py.
Referenced by searx.metrics.error_recorder.ErrorContext.__eq__(), searx.metrics.error_recorder.ErrorContext.__hash__(), and searx.metrics.error_recorder.ErrorContext.__repr__().
searx.metrics.error_recorder.ErrorContext.filename = filename |
Definition at line 38 of file error_recorder.py.
Referenced by searx.metrics.error_recorder.ErrorContext.__eq__(), searx.metrics.error_recorder.ErrorContext.__hash__(), and searx.metrics.error_recorder.ErrorContext.__repr__().
searx.metrics.error_recorder.ErrorContext.function = function |
Definition at line 39 of file error_recorder.py.
Referenced by searx.metrics.error_recorder.ErrorContext.__eq__(), and searx.metrics.error_recorder.ErrorContext.__hash__().
searx.metrics.error_recorder.ErrorContext.line_no = line_no |
Definition at line 40 of file error_recorder.py.
Referenced by searx.metrics.error_recorder.ErrorContext.__eq__(), searx.metrics.error_recorder.ErrorContext.__hash__(), and searx.metrics.error_recorder.ErrorContext.__repr__().
searx.metrics.error_recorder.ErrorContext.log_message = log_message |
Definition at line 43 of file error_recorder.py.
Referenced by searx.metrics.error_recorder.ErrorContext.__eq__(), searx.metrics.error_recorder.ErrorContext.__hash__(), and searx.metrics.error_recorder.ErrorContext.__repr__().
searx.metrics.error_recorder.ErrorContext.log_parameters = log_parameters |
Definition at line 44 of file error_recorder.py.
Referenced by searx.metrics.error_recorder.ErrorContext.__eq__(), searx.metrics.error_recorder.ErrorContext.__hash__(), and searx.metrics.error_recorder.ErrorContext.__repr__().
searx.metrics.error_recorder.ErrorContext.secondary = secondary |
Definition at line 45 of file error_recorder.py.
Referenced by searx.metrics.error_recorder.ErrorContext.__eq__(), searx.metrics.error_recorder.ErrorContext.__hash__(), and searx.metrics.error_recorder.ErrorContext.__repr__().