Open
Bug 1515330
Opened 7 years ago
Updated 3 years ago
[mozlog] Unclear how to write a new mozlog handler
Categories
(Testing :: Mozbase, enhancement, P3)
Tracking
(Not tracked)
NEW
People
(Reporter: gsnedders, Unassigned)
Details
https://firefox-source-docs.mozilla.org/mozbase/mozlog.html#handlers starts off by saying a handler is a callable and then goes straight into the documentation of APIs in mozlog.handlers.
What's the envisioned way of writing a new handler? Creating a callable and wrapping that in mozlog.handlers.BaseHandler? Subclassing mozlog.handlers.BaseHandler? Not using mozlog.handlers.BaseHandler at all?
| Reporter | ||
Comment 1•7 years ago
|
||
See https://github.com/web-platform-tests/wpt/pull/14604 for my attempt at writing a handler based on the documentation and a small bit of source reading (primarily of other handlers in WPT, but a bit of mozbase too).
Updated•6 years ago
|
Priority: -- → P3
Updated•6 years ago
|
Summary: Unclear how to write a new mozlog handler → [mozlog] Unclear how to write a new mozlog handler
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•