PHP logging

EventLogging::logEvent( 'ClientSideError', 18334505, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"ClientSideError": 18334505
			}
		}
	}
}

JavaScript logging

mw.track( 'event.ClientSideError', { /* ... */ } );

Schema:ClientSideError

From Meta, a Wikimedia project coordination wiki
Revision 18334505
Jump to navigation Jump to search