> For the complete documentation index, see [llms.txt](https://mobile.mrw0l05zyn.cl/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mobile.mrw0l05zyn.cl/ios/analisis-dinamico/logs.md).

# Logs

## Frida iOS hook

Visualización y filtrado de logs.

```shell
./ioshook --logcat
./ioshook --logcat | grep <company-name>
./ioshook --logcat | grep -Ei "<word-1>|<word-2>|<word-3>"
```

Registro y visualización de logs.

```shell
./ioshook --logcat | grep --line-buffered -Ei "<word-1>|<word-2>|<word-3>" >> logs.txt
tail -f logs.txt
```

## idevicesyslog

Visualización y filtrado de logs.

```shell
idevicesyslog
idevicesyslog --process <PID>
idevicesyslog | grep -Ei "<word-1>|<word-2>|<word-3>"
idevicesyslog --process <PID> | grep -Ei "<word-1>|<word-2>|<word-3>"
```

Registro y visualización de logs.

```shell
idevicesyslog --process <PID> | grep --line-buffered -Ei "<word-1>|<word-2>|<word-3>" >> logs.txt
tail -f logs.txt
```
