Files
flipper/desktop/plugins/public/logs/docs/overview.mdx
Kevin Strider 89740f7e0a Features
Summary: This diff includes minor changes to the pages within the Features section of Flipper Docs.

Reviewed By: passy

Differential Revision: D41471000

fbshipit-source-id: 0a414d1e5e0cff5d874d3fe6eab647c3877b9caf
2022-11-24 06:18:38 -08:00

24 lines
1.1 KiB
Plaintext

import useBaseUrl from '@docusaurus/useBaseUrl';
The Logs plugin shows device logs without any additional setup. This is a device plugin, which means it's not tied to any specific app and there is no additional setup needed to see the logs.
The following screenshot shows an example of a device log obtained via the Logs plugin.
<img alt="Logs plugin" src={useBaseUrl("img/logs.png")} />
## Plugin functionality
### Filtering
The search bar can be used to search for logs and act as a filter for certain types.
From the context menu on the table headers, you can show additional information, such as timestamp, PID or TID.
Clicking on a tag, PID or TID in the table filters only for logs with the same value.
### Expression Watcher
The Expression Watcher in the sidebar can be used to 'watch' for certain logs to happen and count how often they occur. An expression can be a simple string, or a regular expression, matched against the logs.
When the notify checkbox is enabled, Flipper sends notifications once the log is being processed. This lets you know when the 'watcher' triggered, even if Flipper is in the background.