Logs2 -> Logs

Summary:
Use Logs2 plugin now as the default logs plugin (by overwriting it).

See the rest of this stack

Changelog: The device logs plugin has been fully rewritten. It is faster and more reponsive, formats urls and json, and supports line wrapping and text selection. Beyond that it is now possible to sort and filter on all columns and pause and resume the log stream.

Reviewed By: nikoant

Differential Revision: D27048528

fbshipit-source-id: e18386fec6846ac3568f33a3578f4742213ecaca
This commit is contained in:
Michel Weststrate
2021-03-16 14:54:53 -07:00
committed by Facebook GitHub Bot
parent d293b2b0e5
commit 9d3c48fd84
8 changed files with 398 additions and 990 deletions

View File

@@ -52,7 +52,11 @@ export class SandyPluginDefinition {
constructor(details: ActivatablePluginDetails, module: any) {
this.id = details.id;
this.details = details;
if (details.pluginType === 'device' || module.supportsDevice) {
if (
details.pluginType === 'device' ||
module.supportsDevice ||
module.devicePlugin
) {
// device plugin
this.isDevicePlugin = true;
if (!module.devicePlugin || typeof module.devicePlugin !== 'function') {