PHP logging
EventLogging::logEvent( 'EventError', 14035058, $event );
extension.json setup for JavaScript logging
{
"attributes": {
"EventLogging": {
"Schemas": {
"EventError": 14035058
}
}
}
}
JavaScript logging
mw.track( 'event.EventError', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
description | "A wrapper for Eventlogging events that caused an error somewhere in the Eventlogging pipeline." |
---|
properties | rawEvent | type | "string" |
---|
required | true |
---|
description | "Encoded raw event string that caused an error." |
---|
|
---|
message | type | "string" |
---|
required | true |
---|
description | "Error message describing the error." |
---|
|
---|
code | type | "string" |
---|
required | true |
---|
enum | "processor" |
"consumer" |
"validation" |
|
---|
description | "Error code classifying the type of this error." |
---|
|
---|
schema | type | "string" |
---|
description | "Title of event schema to which rawEvent belongs. 'unknown' if rawEvent cannot be parsed." |
---|
required | true |
---|
|
---|
revision | type | "integer" |
---|
description | "Revision ID of event schema to which rawEvent belongs. -1 if rawEvent cannot be parsed." |
---|
required | true |
---|
|
---|
|
---|