PyANGKernel.GKModelLog¶
- class GKModelLog¶
GKLogwrapper class used internally by models. It automatically registers all logged events as belonging to the owner model.Synopsis¶
Methods¶
def
__init__()def
addError()def
addInfo()def
addText()def
addWarning()
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
- addError(str[, who=None[, relativeWhen=QDateTime()[, where=GKPoint()]]])¶
Add an error entry to the log as a GKLogEntry::eError
- addInfo(str[, who=None[, relativeWhen=QDateTime()[, where=GKPoint()]]])¶
Add an info entry to the log as a GKLogEntry::eInfo
- addText(str[, who=None[, relativeWhen=QDateTime()[, where=GKPoint()]]])¶
Add an entry to the log as a GKLogEntry::eText
- addWarning(str[, who=None[, relativeWhen=QDateTime()[, where=GKPoint()]]])¶
Add a warning entry to the log as a GKLogEntry::eWarning