Package lxml :: Module etree :: Class _LogEntry |
[hide private]
[frames] | no frames]

# Class _LogEntry

    object --+
             |
            _LogEntry

A log message entry from an error log.

Attributes:

- message: the message text
- domain: the domain ID (see lxml.etree.ErrorDomains)
- type: the message type ID (see lxml.etree.ErrorTypes)
- level: the log level ID (see lxml.etree.ErrorLevels)
- line: the line at which the message originated (if applicable)
- column: the character column at which the message originated (if applicable)
- filename: the name of the file in which the message originated (if applicable)
- path: the location in which the error was found (if available)

Instance Methods | [hide private]
a new object with type S, a subtype of T |
__new__(T, S, ...) |
__repr__(x) repr(x) |
Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__init__`, `__reduce__`, `__reduce_ex__`, `__setattr__`, `__sizeof__`, `__str__`, `__subclasshook__`

Properties | [hide private]
| column
| domain
| domain_name The name of the error domain. See lxml.etree.ErrorDomains
| filename
| level
| level_name The name of the error level. See lxml.etree.ErrorLevels
| line
| message
| path The XPath for the node where the error was detected.
| type
| type_name The name of the error type. See lxml.etree.ErrorTypes
Inherited from `object`: `__class__`

Method Details | [hide private]

### __new__(T, S, ...) |
Returns: a new object with type S, a subtype of T Overrides: object.__new__

### __repr__(x) (Representation operator) |
repr(x) Overrides: object.__repr__